Skip to main content
Glama

crosstabs

Repair schema

repair_schema
Idempotent

Apply an approved, reversible schema repair plan. Queues a hosted job; use get_job to retrieve its result. Obtain actual user approval before calling; do not fabricate approval fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelYes
planIdYes
waveIdYes
renamesNo
approvalYes
uploadIdYesID of a file uploaded into this workspace. Local paths and arbitrary URLs are not accepted.
projectIdYes
requestIdYesA new UUID for this job, reused only when retrying identical inputs.
labelAliasesNo
valueRecodesNo
categoryOrdersNo
idempotencyKeyYes
workspaceTokenYesSecret workspace capability returned by create_workspace. Treat as a password; never place in a query string.
typeConversionsNo
expectedRevisionYes
approvedOperationIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds genuinely non-structured context: the operation is asynchronous and queued as a hosted job, results are retrieved via get_job, the plan must be pre-approved by a real user, and approval fields must not be fabricated. Those are meaningful behavioral details beyond what the annotations convey.

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 short sentences, all front-loaded: the action, the async job model, and the approval guardrail. No filler, and the most important constraint (approval) is placed where the agent will read it.

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?

For a 16-parameter, 11-required mutation tool with no output schema, the description usefully covers the async job model and result retrieval path. However, it leaves the large semantic surface of the required parameters (plan, wave, revision, idempotency, workspace token) unexplained, so it is only partially sufficient.

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 19% across 16 parameters, and the description compensates for almost none of it. It gestures at the approval requirement but never explains planId, waveId, expectedRevision, idempotencyKey, renames, labelAliases, valueRecodes, categoryOrders, or typeConversions, leaving most of the input surface 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?

The description gives a specific verb and resource ("Apply an approved, reversible schema repair plan") and states the reversibility/approval posture, which cleanly separates it from read-only siblings. It does not explicitly distinguish itself from adjacent mutation tools like apply_transformation or undo_change, so the sibling differentiation is partial rather than complete.

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?

It states the key precondition ("Obtain actual user approval before calling") and the follow-up step ("use get_job to retrieve its result"), which is concrete usage guidance. It stops short of naming when NOT to use it or which sibling produces the plan to apply, so it is clear context without explicit alternatives.

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