Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

get_workbook_metadata

Read-only

Retrieve workbook metadata to list sheet tabs and optional ranges for structure checks; use list_tables separately to verify named tables.

Instructions

Get workbook metadata; sheets lists TABS, not native table names.

Table inventory is not included. A missing table name in sheets does NOT mean
the table is absent. Use list_tables without sheet_name to verify named sources.

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": {
      "filepath": "<filepath>"
    },
    "name": "get_workbook_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
filepathYesReuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing.
include_rangesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • addedInput schema / properties / filepath / description
      Added value: +"Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing."
  2. First observedv0.8.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds genuinely useful context beyond that — it discloses what the output does NOT contain (table inventory) and warns against a specific false inference. It does not describe return shape or cost/latency, which keeps it from 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.

Conciseness4/5

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

The critical disambiguation is front-loaded in the first clause and the warning about missing table names follows immediately. Three short sentences, no filler, though the formatting is slightly choppy.

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?

With no output schema and no annotations beyond readOnlyHint, the description carries the burden of describing what 'metadata' returns, yet it only covers the sheets field and omits include_ranges entirely. An agent can avoid the main pitfall but still doesn't know what it will receive.

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 coverage is only 50%: filepath is richly documented in the schema, but include_ranges has no description anywhere, and the tool description adds nothing about either parameter. Since half the parameters are undocumented both places, the description should have explained what include_ranges yields.

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?

States a specific verb and resource ('Get workbook metadata') and immediately clarifies that 'sheets' means tab names, not native tables — a distinction no sibling name conveys. It stops short of saying what else the metadata contains (dimensions, properties, counts), so the scope is only partially pinned down.

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?

Gives an explicit negative rule ('a missing table name in sheets does NOT mean the table is absent') plus the corrective action ('Use list_tables without sheet_name to verify named sources'). It does not address when to prefer list_all_sheets or describe_sheet_layout, leaving a routing gap among similar-sounding siblings.

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