Skip to main content
Glama

Inspect headers

leaper_inspect_headers
Read-only

Match CSV or Excel headers to a Leaper Shopify sheet without a shop token, so you can validate columns and map fields before bulk import.

Instructions

Match CSV or Excel headers to a Leaper Shopify sheet. No shop token required.

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": {
      "headers": "<headers>"
    },
    "name": "leaper_inspect_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
headersYes
sheetIdNo
sheetNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

The readOnlyHint/not-destructive annotations already establish the safety profile, so the description's main added value is the authentication note that no shop token is needed, which is genuine context an agent would not otherwise have. Beyond that it says nothing about what happens on a non-match, whether the match is fuzzy or exact, or whether results are persisted. With annotations carrying the safety burden, this is adequate but thin.

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?

Two short declarative sentences with the core action front-loaded and no filler. It is terse but not padded; the brevity is closer to under-specification than to verbosity, and nothing in it is wasted.

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?

With no output schema, zero parameter documentation, and no annotations covering behavior, the description carries the full explanatory load and falls well short. It does not say what a match result looks like, how unmatched headers are reported, or how the sheet is identified. For a three-parameter tool with an undocumented required argument, this leaves real gaps.

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% across three parameters, so the description must compensate and it largely does not. It hints at the headers array (CSV or Excel header strings) but never explains what sheetId versus sheetName are for or what happens if both or neither are supplied. The agent is left to guess at a required selection the schema does not document.

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 states a specific verb and resource: matching CSV or Excel headers against a Leaper Shopify sheet. That is far more informative than the title alone. It does not, however, distinguish this tool from the sibling leaper_map_migration_headers, so an agent cannot tell from the definition alone which of the two to reach for.

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

Usage Guidelines3/5

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

"No shop token required" implicitly signals a pre-authentication or exploratory step in the workflow, and the name-level phrasing suggests inspecting headers before mapping them. But there is no explicit statement of when to use this versus leaper_map_migration_headers, and no stated prerequisites or exclusions. Usage is inferable rather than directed.

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