Skip to main content
Glama

MCP Template

by rhit-bhuwalk

list_records

Retrieve and filter records from a specified resource URI, set a maximum number of results, and sort data using customizable criteria for structured querying.

Instructions

List records from a resource

Input Schema

NameRequiredDescriptionDefault
filterNoFilter criteria
maxRecordsNoMaximum number of records to return. Defaults to 100.
resourceUriYesURI of the resource to query
sortNoSpecifies how to sort the records

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "filter": { "additionalProperties": {}, "description": "Filter criteria", "type": "object" }, "maxRecords": { "description": "Maximum number of records to return. Defaults to 100.", "type": "number" }, "resourceUri": { "description": "URI of the resource to query", "type": "string" }, "sort": { "description": "Specifies how to sort the records", "items": { "additionalProperties": false, "properties": { "direction": { "description": "Sort direction. Defaults to asc (ascending)", "enum": [ "asc", "desc" ], "type": "string" }, "field": { "description": "Field name to sort by", "type": "string" } }, "required": [ "field" ], "type": "object" }, "type": "array" } }, "required": [ "resourceUri" ], "type": "object" }

Other Tools from MCP Template

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/rhit-bhuwalk/MCP_TEMPLATE'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server