Skip to main content
Glama

Get import status

get_import
Read-only

Read an import run's progress: status (pending, active, completed, canceled), cancel_reason, scanning (still listing source folders), the target folder_token (files are in Playbook folders named after each source folder), and files counts (total, pending, completed, skipped, failed). skipped includes files already in the folder unchanged. cancel_reason on canceled: overlimit — out of storage or assets, or the next file would have crossed into storage overage the workspace has not agreed to (nothing past that point was stored); incomplete — some files failed; failed_to_start — could not start, e.g. sustained provider rate limiting; oauth_credential_deleted / target_collection_deleted — the connection or target folder was removed; blocked — blocked by an admin. Poll no more than every 15–30 seconds.

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

Input Schema

NameRequiredDescriptionDefault
tokenYesImport token returned by import_from_google_drive or import_from_dropbox
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "token",
      -  "context"
      -]New value: +[
      +  "token"
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare this as a safe read (readOnlyHint, non-destructive, non-open-world), and the description adds substantial behavior beyond that: it explains the meaning of 'skipped' and decodes every cancel_reason value (overlimit, incomplete, failed_to_start, oauth_credential_deleted, target_collection_deleted, blocked), including what overlimit means for stored data. It also states the polling rate limit. This is exactly the kind of interpretive context annotations can't provide.

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?

It is front-loaded with the returned fields and the sentence order moves from general status to specific cancel reasons, which aids scanning. It is dense and slightly redundant (cancel_reason is mentioned twice), but nearly every clause conveys field interpretation an agent would otherwise have to guess.

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?

There is no output schema, so the description must explain return values, and it does so thoroughly, including status enumeration, counts, and all cancellation causes. For a two-parameter read tool with full schema coverage, nothing an agent needs to interpret results or poll correctly is missing.

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 both token and organization are already documented in the schema (including the single-workspace resolution rule). The description adds no input-parameter detail — its folder_token mention is an output field, not the input. Baseline 3 is appropriate when the schema carries the parameter burden.

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 opens with a specific verb and resource: 'Read an import run's progress.' It then enumerates exactly which fields come back (status, cancel_reason, scanning, folder_token, files counts). This is clearly a status-read tool, distinct from the sibling import_from_* tools that start imports.

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 closing line 'Poll no more than every 15–30 seconds' gives concrete operational guidance on how to use the tool, which is the main usage risk for a status endpoint. It doesn't explicitly say to call this after starting an import or name it against an alternative, but the context is unambiguous for an import-status reader.

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