Skip to main content
Glama

Preview a Kash catalog import

prepare_catalog_import
Read-onlyIdempotent

Queue analysis of a catalog CSV. Fetch the operation and paginated preview, then ask the user before applying it.

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": {
      "contentBase64": "<contentBase64>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "prepare_catalog_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentBase64YesOriginal Kash catalog CSV bytes encoded as Base64, up to 1 MiB decoded.
idempotencyKeyYesStable key for this submission, such as a UUID. Keep the same key and arguments when retrying.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint=false), the description discloses that the work is queued as an operation and that results arrive in a paginated preview, which tells the agent to expect an asynchronous, multi-step read pattern rather than an immediate result. It also encodes a human-in-the-loop gate before applying, which is behavior the annotations do not express. The charting of a queued job sits in mild tension with readOnlyHint=true, but since nothing in the catalog is mutated, this reads as a non-destructive staging operation rather than a contradiction.

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 sentences with no filler, and the core action ('Queue analysis of a catalog CSV') is front-loaded. The second sentence packs workflow, retrieval, and approval into one line, which is efficient but leaves the referent of 'the operation' and 'paginated preview' underspecified.

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?

There is no output schema, so the description carries the burden of explaining what comes back; it names an operation and a paginated preview but not their shape, identifiers, or paging parameters. For a tool whose whole point is producing a reviewable preview, the agent still has to discover how to fetch and page through that preview, which is a meaningful gap.

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 description coverage is 100%: both contentBase64 (Base64-encoded Kash catalog CSV, up to 1 MiB decoded) and idempotencyKey (stable key, reuse on retry) are fully documented with patterns and length bounds. The description only restates that the input is a catalog CSV and adds no encoding, size, or retry semantics of its own, so the baseline 3 applies.

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 definition names a specific verb and resource ('Queue analysis of a catalog CSV') and the title frames it as a preview step for a Kash catalog import, which implicitly separates it from confirm_catalog_import. The second sentence is less clear about whether this tool performs the fetch of the operation and preview or whether the agent must call something else, so the boundary of responsibility is slightly blurred.

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?

The definition gives explicit sequencing guidance: queue the analysis, retrieve the operation and paginated preview, then ask the user before applying. The 'ask the user before applying' clause effectively steers the agent away from committing the import. It stops short of naming the confirm tool or stating exclusions such as 'do not call this for non-CSV input', so it is clear context rather than a full when/when-not rubric.

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