Skip to main content
Glama

Workspace sheets get metadata

workspace.sheets.get_metadata
Read-onlyIdempotent

Fetches spreadsheet metadata—title, sheet tabs, and grid sizes—from a spreadsheet ID, enabling agents to inspect structure before reading or editing data.

Instructions

Fetch spreadsheet metadata (title, sheet tabs, grid sizes).

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": {
      "spreadsheet_id": "<spreadsheet_id>"
    },
    "name": "workspace.sheets.get_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
spreadsheet_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered without description help. The description adds only that the result is structural rather than cell data; it says nothing about auth scope, failure modes for a bad or inaccessible ID, or result size — acceptable given the annotation coverage but not rich.

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?

One front-loaded sentence with no filler and no repetition of the title. It is arguably too terse for a tool that could have carried routing guidance, but nothing in it is wasted.

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

Completeness3/5

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

An output schema exists, so return values need not be spelled out (the parenthetical is mildly redundant with it), and annotations cover safety. What is missing is disambiguation from read_range and any detail on the identifier the caller must supply — real gaps for an agent choosing among several sheets tools.

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

Parameters2/5

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

Schema description coverage is 0%, and the description does not mention the single required spreadsheet_id parameter at all — not its format, not whether a full Sheets URL is accepted. The parameter name is self-explanatory, which keeps this from being a 1, but the description fails to compensate for the coverage gap.

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?

The description names a specific verb (fetch) and resource (spreadsheet metadata) and enumerates the payload (title, sheet tabs, grid sizes), so an agent knows exactly what comes back. It stops short of explicitly contrasting itself with siblings such as workspace.sheets.read_range, which reads cell contents rather than structure.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus workspace.sheets.read_range or workspace.drive.list_files, no prerequisites (e.g. that the caller needs a spreadsheet ID rather than a file name), and no exclusions. The usage context is only inferable from the word 'metadata'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools