Skip to main content
Glama

get_import

Read-only

Get an import from import_asset: running, succeeded with the asset it made, or failed with why. Over MCP, while it runs, this waits up to 45 seconds for it to finish before answering: if it's still running, call again right away, with no pause.

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": {
      "import_id": "<import_id>"
    },
    "name": "get_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
import_idYesThe import, from import_asset.

Output Schema

NameRequiredDescriptionDefault
idYes`imp_…`.
urlYesWhere it downloads the file from.
nameYesThe asset it makes.
assetNoThe asset, once it has succeeded.
errorNoWhy it failed.
statusYes`running`, `succeeded` or `failed`.
created_atYesRFC 3339.
updated_atYesRFC 3339: when its status last changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Discloses a major behavioral trait the annotations do not cover: over MCP the call blocks up to 45 seconds waiting for completion. Annotations only declare readOnly/non-destructive/closed-world, so the long-poll latency and the immediate-retry contract are substantial added context that prevents the agent from mis-timing or abandoning the poll.

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?

Two sentences, both load-bearing: the first defines the resource and its outcomes, the second front-loads the blocking behavior before the retry rule. No filler or redundant restatement of the title.

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

Completeness5/5

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

For a single-parameter read tool with an output schema, the description covers everything the agent must know to call it correctly: the source of the ID, the possible terminal states, the 45-second wait, and the immediate-retry loop. Return-value structure is appropriately left to the output schema.

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% and the sole parameter is documented as 'The import, from import_asset.' The description repeats that provenance but adds no format, encoding, or sourcing detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ('Get an import') and immediately scopes it to imports produced by 'import_asset', which separates it from the get_export/get_generation/get_asset siblings. It also enumerates the three states the tool can return, so the agent knows exactly what it is fetching.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use context (polling the result of import_asset) and concrete retry guidance: if the import is still running, 'call again right away, with no pause.' This is exactly the operational instruction an agent needs and is not inferable from the schema or annotations.

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