Skip to main content
Glama

read_data_source_full

Read-only

Read rows from a data source, one page at a time. Returns at most 100 rows by default (500 max, and fewer when the rows are wide). When "hasMore" is true, call again with the returned "nextOffset" to continue. Only use this when the preview is insufficient — prefer read_data_source_preview, and prefer run_data_transform over paging through a whole sheet to inspect it.

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": {
      "documentId": "<documentId>",
      "variable": "<variable>",
      "llm_model": "<llm_model>"
    },
    "name": "read_data_source_full"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return (default 100, hard max 500)
offsetNo0-based index of the first row to return (default 0)
variableYesThe variable name of the data source
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess.
documentIdYesThe catalogue's id. Call list_documents first if you do not have one.
conversation_idNoPass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds real behavioral context beyond that — default 100 rows, hard max 500, fewer when rows are wide, and the hasMore/nextOffset continuation loop. It does not cover auth or error behavior, but for a read tool that is a minor gap.

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

Conciseness5/5

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

Three sentences, front-loaded with the core action and limits, then the continuation rule, then the routing guidance. No redundant or filler wording.

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?

No output schema exists, yet the description explains the return shape (row count cap, hasMore, nextOffset) and the paging loop, which is exactly what an agent needs to call it correctly. Nothing material is missing for a paginated read tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning about how limit and offset interact with the returned nextOffset to drive pagination, which the schema alone does not convey. It does not explain documentId or conversation_id, but those are already well documented in the schema.

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?

States a specific verb and resource ("Read rows from a data source") plus the paging scope, and explicitly distinguishes itself from read_data_source_preview and run_data_transform. An agent can identify the tool's role without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use and when-not-to-use guidance: only when the preview is insufficient, prefer read_data_source_preview, and prefer run_data_transform over paging a whole sheet. It names the alternatives and the conditions that select them.

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.

Resources