Skip to main content
Glama

List records

list_records
Read-only

Reads one page of an app's records in a collection, as the person this call acts for: all of a shared collection, only their own of a private one, and of an assigned one only those assigned to them unless they edit the app. Takes the previous page's next_cursor, and returns records and next_cursor, empty on the last page. Returns no list of collections. Field values are written by the app's users.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app_id": "<app_id>",
      "collection": "<collection>"
    },
    "name": "list_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesthe app, as list_apps gave it
cursorNothe previous page's next_cursor; omit for the first page
collectionYesa collection the app declares

Output Schema

NameRequiredDescriptionDefault
recordsYesone page of records the person may read
collectionsNonull; list_app_collections lists an app's collections
next_cursorYesthe cursor for the next page, empty on the last

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / collections / items / properties / fields / items / properties / type / description
      Previous value: -"text, number, boolean or timestamp"New value: +"text, number, boolean, timestamp or files"
  2. Changed5 schema fields changed
    • changedInput schema / properties / collection / description
      Previous value: -"a collection the app declares; omit to get the app's collections instead of records"New value: +"a collection the app declares"
    • changedInput schema / required
      Previous value: -[
      -  "app_id"
      -]New value: +[
      +  "app_id",
      +  "collection"
      +]
    • changedOutput schema / properties / collections / description
      Previous value: -"the collections the app declares, when no collection was named; empty otherwise"New value: +"null; list_app_collections lists an app's collections"
    • changedOutput schema / properties / records / description
      Previous value: -"one page of records the person may read, when a collection was named; empty otherwise"New value: +"one page of records the person may read"
    • changedOutput schema / required
      Previous value: -[
      -  "collections",
      -  "records",
      -  "next_cursor"
      -]New value: +[
      +  "records",
      +  "next_cursor"
      +]
  3. Changed2 schema fields changed
    • changedOutput schema / properties / collections / items / properties / access / description
      Previous value: -"shared: everyone who opens the app reads every record. private: each person reads only their own"New value: +"shared: everyone who opens the app reads every record. private: each person reads only their own. assigned: a user reads those assigned to them, owners and editors all"
    • addedOutput schema / properties / collections / items / properties / assigned_to
      Added value: +{
      +  "description": "the field holding the assignee's id",
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / records / items / properties / created_by
      Added value: +{
      +  "description": "the account that wrote the record, in the form user.id takes. Absent when someone wrote it through a share link without signing in, when the platform wrote it, and when the person cannot see who is in the app",
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
    • addedOutput schema / properties / records / items / properties / updated_by
      Added value: +{
      +  "description": "the account that last changed the record. Absent when that is not known",
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
  5. Added

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare read-only and non-destructive behavior, but the description adds valuable semantics: visibility depends on collection type and the caller's editing rights, pagination uses next_cursor, and the final page returns empty. It does not cover error behavior or rate limits, but it substantially enriches the behavioral picture beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded with the core action and then layers in access rules and pagination. The permission sentence is dense, but each sentence carries useful information and there is no obvious filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paginated read tool, the description covers purpose, access scoping, pagination, and last-page behavior. An output schema exists, so the brief note about returned records and next_cursor is sufficient without duplicating return-value documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all three parameters are already documented in the schema. The description reinforces cursor usage and ties collection access to permission rules, but it does not add syntax or format details beyond what the schema provides, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: reading one page of an app's records in a collection. It also distinguishes this tool from collection listing by explicitly stating it returns no list of collections, so an agent can separate it from list_app_collections.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly explains the access-scoping rules for shared, private, and assigned collections, and explains that cursor should come from the previous page's next_cursor. It does not explicitly name alternatives for other operations, but it gives strong context for when this read tool applies.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.