Skip to main content
Glama

Get a Kash operation result

get_async_operation_result
Read-onlyIdempotent

Retrieve a completed sales CSV as an embedded MCP file, or read the catalog preview or outcome page and its line errors.

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": {
      "operationId": "<operationId>",
      "operationKind": "<operationKind>"
    },
    "name": "get_async_operation_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoImport only. Reuse nextAfter from the previous result page.
limitNoImport only. Number of preview or result lines to fetch.
operationIdYesID returned when the operation was queued.
operationKindYesUse export for a sales export and import for a catalog import.

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?

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety bar is low. The description still adds real context the annotations cannot: the return payload differs by mode, with export yielding an embedded MCP file and import yielding a preview/outcome page including line-level errors. It omits what happens for a pending/failed operation, which is the one behavioral gap.

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?

A single sentence, front-loaded with the verb and resource, that efficiently covers both modes without repetition or filler. Nothing in it is wasted.

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, the description takes on the burden of describing return values and does so for both modes, including the line-errors detail that matters for catalog imports. It falls short only on edge behavior (pending/failed operations) and on how after/limit drive paging of import previews.

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 100%, so operationId, operationKind, after, and limit are all documented by the schema, including that after/limit are import-only. The description reinforces the mode-to-outcome mapping but adds no syntax or constraint detail beyond what the schema already states, so 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?

Specific verb and resource: retrieve the result of a queued async operation, with the two outcome shapes spelled out (embedded CSV file for export, preview/outcome page with line errors for import). This is more than a restatement of the name. It does not distinguish itself from the sibling get_async_operation, which an agent could easily confuse with this tool.

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?

Usage is only implied: 'completed' hints the operation should be finished before calling, and the two modes hint at the export/import split. There is no explicit statement of when to call this versus get_async_operation (poll status) or what to do if the operation is not yet complete, leaving the agent to infer the workflow.

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