Skip to main content
Glama

Describe spreadsheet

query_describe
Read-onlyIdempotent

Lists the SQL tables an uploaded spreadsheet exposes, with each table's column names and types. Call this before query_run_sql so you know the table and column names to write. Only works on spreadsheets (.csv/.xls/.xlsx) that have been converted by the upload pipeline; use the listing tool to find candidate files.

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": {
      "path": "<path>",
      "context": "<context>"
    },
    "name": "query_describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesVFS path of the spreadsheet, e.g. '/finance/sales.xlsx'.
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
workspace_idNoWhich workspace to act in - a workspace id (whoami returns the id of your default workspace). Omit to use your default workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world scope, so the safety profile is covered. The description still adds real behavior beyond that: the output shape (tables plus column names and types) and the hard prerequisite that only pipeline-converted spreadsheets work. It stops short of saying what happens when the path is not a converted spreadsheet, so not a 5.

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 tight sentences, front-loaded with what the tool returns, then the sequencing rule, then the applicability constraint. No filler, no restatement of the name or title.

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?

With no output schema, the description carries the return-value burden and does so by naming tables, column names, and types. Combined with the ordering guidance and the conversion prerequisite, an agent has what it needs to call correctly; only failure behavior on invalid or unconverted paths is unstated.

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 would be 3, but the description adds genuine meaning for the `path` parameter by restricting valid values to spreadsheets already converted by the upload pipeline and by pointing to the listing tool as the way to obtain candidates. The `context` and `workspace_id` parameters are left entirely to 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?

The description states a specific verb and resource — it lists the SQL tables a spreadsheet exposes along with each table's column names and types — and ties itself to a concrete artifact type (.csv/.xls/.xlsx). The mention of query_run_sql plus the spreadsheet-only scope lets an agent separate it from query_json_describe without opening either 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?

It gives an explicit ordering rule ('Call this before query_run_sql so you know the table and column names to write') and a concrete alternative for a related need ('use the listing tool to find candidate files'). The precondition that the file must have gone through the upload pipeline further constrains when this 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.

Resources