Skip to main content
Glama

create_catalog_import

Idempotent

Create a durable CSV, XLSX, JSON, feed, API, document, or manual catalog import. Supply parsed rows for immediate validation, or an artifact/source reference to enter the mapping workflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsNo
mappingNo
source_urlNo
source_typeYes
idempotency_keyYes
source_artifact_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
catalog_importYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / import
      Removed value: -{
      -  "additionalProperties": {},
      -  "properties": {
      -    "accepted_rows": {
      -      "maximum": 9007199254740991,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "id": {
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "rejected_rows": {
      -      "maximum": 9007199254740991,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "source_type": {
      -      "type": "string"
      -    },
      -    "status": {
      -      "type": "string"
      -    },
      -    "total_rows": {
      -      "maximum": 9007199254740991,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "validation_errors": {
      -      "items": {},
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "id",
      -    "status",
      -    "source_type"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / required
      Added value: +[
      +  "catalog_import"
      +]
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

The description indicates that the operation creates a durable import and mentions downstream effects like validation and mapping. It does not contradict the annotations (idempotentHint=true, destructiveHint=false). The description adds context about the workflow without repeating annotation details, which is appropriate given the annotations already cover idempotency.

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?

The description is concise, consisting of two sentences that pack substantial information without redundancy. It is well-structured, clearly stating the action and then the two primary usage modes.

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

Completeness4/5

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

Given the complexity of the schema (nested objects, many fields) and the existence of an output schema, the description provides sufficient high-level context about the tool's purpose and workflow. It mentions validation and mapping, which gives the user a sense of what happens after creation. It does not need to explain return values since an output schema exists.

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?

The description adds meaning to a few key parameters (rows and source_artifact_id) by explaining their roles in validation vs. mapping. However, it does not clarify other important parameters like source_type, idempotency_key, mapping, or source_url. With a schema coverage of 0%, the description only partially compensates for the lack of parameter explanations.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's primary function: creating a durable catalog import across various source types (CSV, XLSX, JSON, feed, API, document, manual). It distinguishes it from sibling tools by focusing specifically on catalog imports and mentioning the two modes of operation (parsed rows vs. artifact/source reference).

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 description provides actionable guidance on how to use the tool: either supply parsed rows for immediate validation or provide an artifact/source reference to enter the mapping workflow. This gives clear conditions for usage, though it does not explicitly contrast with alternatives like upsert_supplier_catalog.

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