Skip to main content
Glama

Get an import report

get_import_report
Read-onlyIdempotent

Beta. The stored report of an import from SendGrid, Postmark, Mailgun, Resend, Amazon SES or Azure Communication Services: what was imported, skipped and failed, the DNS changes per domain, what still needs doing, the code change and a prompt for it. Pass the import id, or omit it for the latest import. Previews are not stored.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_import_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoImport id. Omit for the latest import.

Output Schema

NameRequiredDescriptionDefault
migrationYesThe import report

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Import id (the `id` from import_from_provider). Omit for the latest import."New value: +"Import id. Omit for the latest import."
  2. Changed1 schema field changed
    • changedOutput schema / properties / migration / properties / provider / description
      Previous value: -"sendgrid, postmark, mailgun, resend or ses"New value: +"sendgrid, postmark, mailgun, resend, ses or azure"
  3. Changed1 schema field changed
    • changedOutput schema / properties / migration / properties / provider / description
      Previous value: -"sendgrid, postmark or mailgun"New value: +"sendgrid, postmark, mailgun, resend or ses"
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description adds value beyond them: the 'Beta' stability warning, the fact that previews are never persisted, and a preview of what the report contains (imported/skipped/failed, DNS changes, remaining work, code change + prompt).

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?

Front-loads the 'Beta' flag, then a single dense sentence covering sources and report contents, then the previews caveat. The long enumeration earns its place for expectation setting, though it is close to over-packed for one sentence.

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?

An output schema exists, so return shape need not be explained, and annotations cover safety. With one optional parameter, the description supplies everything else an agent needs: beta status, supported sources, default-to-latest behavior, and the preview exclusion.

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?

There is a single parameter with 100% schema coverage, and the schema already states 'Omit for the latest import.' The description restates this behavior without adding format, validation, or error semantics, so the baseline of 3 is appropriate.

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+resource ('the stored report of an import') and enumerates the sources (SendGrid, Postmark, Mailgun, Resend, SES, ACS) plus the report's contents, so it is clearly distinguishable from sibling report tools like get_dmarc_report or get_batch.

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?

Explicitly says to pass the import id or omit it for the latest import, and adds the exclusion 'Previews are not stored', which tells the agent a preview import will not resolve here. It stops short of naming an alternative tool for previews, but the when-to-use context is clear.

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.