Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

cross_workbook_lookup

Read-only

Enriches a source workbook dataset with matching rows from one or more lookup workbooks, enabling joins and lookups across spreadsheets.

Instructions

Enrich one workbook dataset from matching rows in one or more lookup workbooks.

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": {
      "source_filepath": "<source_filepath>",
      "lookup_filepaths": "<lookup_filepaths>",
      "source_key": "<source_key>"
    },
    "name": "cross_workbook_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
selectNo
row_modeNoarrays
join_typeNoleft
lookup_keyNo
match_modeNofirst
source_keyYes
schema_modeNostrict
infer_schemaNo
lookup_selectNo
case_sensitiveNo
lookup_sort_byNo
source_filepathYesReuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing.
lookup_filepathsYes
lookup_sort_descNo
lookup_header_rowNo
lookup_sheet_nameNo
lookup_table_nameNo
source_header_rowNo
source_sheet_nameNo
source_table_nameNo
lookup_sample_limitNo
include_lookup_match_countNo
include_lookup_source_columnsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.5
    • addedInput schema / properties / row_mode / enum
      Added value: +[
      +  "arrays",
      +  "objects"
      +]
  2. Changed2 schema fields changedv0.14.0
    • addedInput schema / properties / lookup_filepaths / items / description
      Added value: +"Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing."
    • addedInput schema / properties / source_filepath / description
      Added value: +"Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing."
  3. First observedv0.8.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true, so the safety profile is already covered and the bar is lower. The description earns some credit for conveying join/enrichment semantics against multiple lookup files, but it is silent on the behaviors that matter here: what happens to unmatched source rows, how multiple matches are resolved, and how limit/select interact with the result set.

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?

A single front-loaded sentence with no filler or redundancy. Its problem is under-specification rather than verbosity, which is penalized in the other dimensions.

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

Completeness2/5

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

For a 24-parameter join tool with no output schema and 96% undocumented parameters, one sentence is far short of what an agent needs to call it correctly. The readOnly annotation covers safety, but key pairing, match resolution, and schema-mode effects remain unexplained.

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 only 4% across 24 parameters, so the description carries almost the entire burden and largely fails. It implies a source-key vs lookup-key pairing but never explains lookup_key, join_type=left, match_mode=first, schema_mode=strict, case_sensitive, or the select/lookup_select distinction, leaving nearly all non-default behavior undocumented.

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?

"Enrich one workbook dataset from matching rows in one or more lookup workbooks" names a specific verb (enrich), a specific resource (workbook dataset), and the direction of data flow (lookup workbooks into a source). An agent can distinguish this from aggregate_table or bulk_filter_workbooks without opening the schema, though it never names a sibling explicitly.

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?

The description gives no when-to-use guidance, no when-not-to-use condition, and no prerequisites (e.g. that keys must exist in both files, or how this differs from a filter/aggregate path). The agent must infer the calling context entirely from the purpose sentence.

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