Skip to main content
Glama

Query records

query_records
Read-only

FREE (key) — Use to read, filter or count the records of a ListPlus list. read records of a list shared with you: mode rows (default; columns you may see, each with id and url), count, or ids (up to 10,000, to pass on as record_ids). Filter by column values or conditions (describe_list names them), and by time: changed_since, added_since, added_by_me.

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": {
      "list_id": "<list_id>"
    },
    "name": "query_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNorows (default), count, or ids
limitNoRows per call (capped by the list's share, default 100)
logicNoHow several filter entries combine (default and)
filterNoColumn → value: exact, { "contains": "…" }, { "not": "…" }, { "is_empty": true } or { "condition": "<one of filter_conditions>" }; ar_status by status name
offsetNoSkip this many rows (paging)
columnsNoOnly these columns in the rows
list_idYesThe list's id (describe_list without list_id shows the lists shared with you)
languageNoLanguage of `tell_your_user` (default en)
added_by_meNoOnly records this connection added
added_sinceNoISO date: added by an agent from then on
changed_sinceNoISO date: changed from then on (edit, status, tag, enrichment); hidden ones need include_hidden
include_hiddenNoAlso records hidden in the list (status "ignored")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / added_by_me
      Added value: +{
      +  "description": "Only records this connection added",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / added_since
      Added value: +{
      +  "description": "ISO date: added by an agent from then on",
      +  "type": "string"
      +}
    • addedInput schema / properties / changed_since
      Added value: +{
      +  "description": "ISO date: changed from then on (edit, status, tag, enrichment); hidden ones need include_hidden",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / columns / maxItems
      Added value: +100
  3. Changed5 schema fields changed
    • removedInput schema / properties / columns / items / maxLength
      Removed value: -200
    • removedInput schema / properties / columns / maxItems
      Removed value: -100
    • removedInput schema / properties / filter / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / list_id / maxLength
      Removed value: -80
    • removedInput schema / properties / list_id / minLength
      Removed value: -1
  4. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds real context beyond that: the 'FREE (key)' cost note, the 10,000 id cap, that hidden records require include_hidden, and that visibility depends on what the calling connection may see ('columns you may see', 'a list shared with you'). It does not describe result shape or paging semantics in prose, which keeps it at a solid 3 rather than higher.

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?

Front-loaded with the cost marker and the primary use, then packed with filtering detail; no filler sentences. The middle clause ('read records of a list shared with you: `mode` rows …') is grammatically fragmented and slightly harder to parse than it needs to be, which keeps it from a 5.

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

Completeness4/5

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

For a 12-parameter, nested-filter read tool with no output schema, the description covers the essentials an agent needs: mode choice, filter semantics with a pointer to describe_list/filter_conditions, time-based filters, and hidden-record behavior. It stops short of explaining paging/offset interaction or what a count vs rows response contains, a minor gap given the rich schema.

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 coverage is 100%, so the schema already documents every parameter including filter's nested operators and enums. The description echoes the mode values and defaults and adds one genuinely new datum — that ids is capped at 10,000 and exists to feed record_ids — but otherwise restates what the schema carries. Baseline 3 is appropriate.

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

Purpose4/5

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

States a specific verb set and resource: 'read, filter or count the records of a ListPlus list', and enumerates the three output modes (rows, count, ids). This clearly separates it from mutating siblings such as add_records, update_records and mark_records, though it never names any sibling explicitly.

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?

Gives actionable routing: use rows for 'columns you may see', count for counting, and ids 'up to 10,000, to pass on as record_ids' — which tells the agent when to prefer ids mode for chaining into other tools. It also points to describe_list for column names. What is missing is an explicit when-not statement (e.g. use check_records/match_records instead for lookups).

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.