Skip to main content
Glama

Read the import

read_import

Fetch an import batch's conversations from its source and sort them into groups. Returns the counts per group, not the conversations.

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": {
      "batchId": "<batchId>"
    },
    "name": "read_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
batchIdYesThe import's id: importInFlight.batchId from get_onboarding_progress.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the agent already knows this isn't a pure read and isn't destructive. The description adds real behavioral context the annotations don't carry: that it reaches out to the source and groups the results, and that the payload is aggregated counts rather than the items themselves. It stops short of covering idempotency, re-fetch behavior, or what happens on partially-failed batches.

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 the action first and the important return-value caveat second; nothing is wasted. It is not verbose, though the second sentence could be tightened into a single clause.

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?

With no output schema and one fully documented parameter, the description covers the essentials: what it does, that it mutates grouping state, and that the response is per-group counts rather than conversations. Minor gaps are how the grouping is determined and whether calling it twice re-sorts or duplicates.

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% and there is a single required batchId whose schema text already tells the agent to source it from importInFlight.batchId in get_onboarding_progress. The description contributes nothing about the parameter, so the baseline of 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?

Uses a concrete verb-and-resource pair ('fetch an import batch's conversations ... sort them into groups'), which is more specific than the title's 'Read the import'. It doesn't explicitly name a sibling such as get_import_items or get_import_status, so the boundary between this and the other import tools is only implied.

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 clause 'Returns the counts per group, not the conversations' implicitly steers an agent toward get_import_items when it needs the actual conversations, which is useful routing. But there is no explicit statement of when this tool should be called rather than the sibling readers, nor any prerequisite or ordering guidance.

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