Skip to main content
Glama

UK Data for Agents

read_spreadsheet

Fetch an .xlsx, .xls, .ods or .csv from a URL and return the rows of a sheet as JSON. (cost: 2 credits)

Input Schema

NameRequiredDescriptionDefault
urlNostring, required
sheetNostring
maxRowsNonumber 1-5000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add genuinely useful behavior: the cost signal (2 credits) and the JSON-rows return format. It is silent on important traits such as what happens with an invalid or unreachable URL, whether the sheet parameter defaults to the first sheet, and whether truncation occurs at maxRows.

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?

Two sentences, both load-bearing: the first states capability, formats, and return type, and the parenthetical adds pricing without burying it. Nothing is redundant or padded.

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 low-complexity, three-parameter read tool with full schema coverage and no output schema, the definition covers capability, formats, return shape, and cost. Minor gaps remain around default sheet selection and truncation/error behavior, which an agent would likely want before calling on large files.

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 url, sheet, and maxRows, making 3 the baseline. The description adds only a loose implication that a sheet is selectable; it contributes no meaning about sheet naming conventions, defaults, or the 1-5000 bound on maxRows beyond what the schema states.

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?

"Fetch an .xlsx, .xls, .ods or .csv from a URL and return the rows of a sheet as JSON" gives a specific verb (fetch) and resource (spreadsheet) plus the exact supported formats and output shape, which clearly separates it from the make_xlsx and pdf_to_text siblings. It stops short of naming those siblings explicitly, so routing still takes one inference step.

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

Usage Guidelines3/5

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

Usage is implied by the supported-format list (use this for spreadsheet or CSV URLs) rather than stated. There is no explicit statement of when to prefer this over pdf_to_text or make_xlsx, and no note on prerequisites such as URL accessibility or authentication.

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