Skip to main content
Glama

files_read

Read-onlyIdempotent

Read-only file metadata operations on Quadratic files the user has access to. No data is modified. Requires authentication.

Files are spreadsheets (kind GRID, edited with read_data / write_data), documents (kind DOC, edited with doc_read / doc_write) or presentations (kind SLIDE, edited with slide_read / slide_write).

Actions: • list_files(kinds?) — List accessible files with their kind. kinds: ["GRID"], ["DOC"] or ["SLIDE"] limits the list to those kinds. • get_file_info(file_id) — Get metadata for a single file, including its kind and web URL.

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": {
      "action": "<action>"
    },
    "name": "files_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform: list_files or get_file_info
paramsNoParameters for the action (see tool description)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / title
      Removed value: -"FilesReadAction"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint, openWorldHint, idempotentHint), the description adds two facts the annotations cannot convey: no data is modified and authentication is required. It also discloses what get_file_info returns (kind plus web URL), giving the agent a sense of the payload. It does not mention pagination or result limits for list_files, which is the main remaining gap.

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: the read-only/auth framing and the kind-to-sibling mapping come before the action list, which is bulleted and scannable. The kinds sentence is slightly redundant in restating the same three values twice, and every other sentence earns its place.

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 two-action read tool with no output schema, the description covers the safety profile, the auth requirement, the per-action parameters, and a sketch of what each action returns. Pagination/limits for list_files and any file_id provenance are the only meaningful omissions for correct invocation.

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?

The schema types 'params' as an untyped object with no internal structure, so the description carries nearly the whole burden of parameter meaning. It does that well for list_files (kinds accepting ["GRID"], ["DOC"], ["SLIDE"] as an optional filter) and names file_id for get_file_info. It does not say where file_id originates or its format, so it stops short of full coverage.

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 names a specific verb class and resource ('Read-only file metadata operations on Quadratic files') and enumerates the two concrete actions (list_files, get_file_info) with their outputs. It also explicitly separates itself from files_write by stating no data is modified, so an agent can distinguish it from siblings without opening a schema.

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 routes the agent by resource kind: GRID files are edited with read_data/write_data, DOC with doc_read/doc_write, SLIDE with slide_read/slide_write, which implies this tool is the metadata/discovery entry point. What's missing is an explicit positive statement such as 'use this first to discover file_id before calling read_data' – the routing is inferable rather than stated.

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.