Skip to main content
Glama

commit_gym_import

Apply an import draft with the agreed column mapping (field → zero-based column index). Creates the records. (confirm-gated: previews until confirm: true)

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": {
      "draftId": "<draftId>",
      "mapping": "<mapping>"
    },
    "name": "commit_gym_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to actually execute. If false/omitted, returns a preview only.
draftIdYes
mappingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description carries real weight here and delivers: it discloses the confirm-gated preview behavior and that the call actually creates records. It does not mention reversibility via undo_gym_import, side effects such as invitations/notifications, or partial-failure behavior.

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?

Three tight clauses with the core action and mapping semantics front-loaded, and the confirm-gating parenthetical last. No filler, though the parenthetical phrasing is slightly cryptic.

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 mutating tool with no output schema and only 33% parameter coverage, the description covers the mapping and the confirm gate but omits where draftId comes from, what the preview returns, and how to recover from a bad import. Adequate but with clear gaps.

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

Parameters3/5

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

Schema coverage is only 33% — draftId is entirely undocumented in both schema and description, and confirm is documented in the schema itself. The description does add genuine value by explaining that mapping columns are zero-based, but it leaves the draftId source unexplained and does not clarify field-name constraints.

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 ('Apply') and resource ('an import draft') plus the payload semantics (field → zero-based column index) and the outcome ('Creates the records'). That is enough to separate it from siblings like start_gym_import_from_sheet or undo_gym_import, though those siblings are never named explicitly.

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?

The confirm-gating note implies a two-step workflow (preview, then commit), but there is no explicit statement of when to call this versus start_gym_import_from_sheet (to create the draft), list_gym_imports (to find one), or undo_gym_import (to revert). Usage is inferable but not spelled out.

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.