Skip to main content
Glama

SMI Aware Assistant

Create Export

smi_create_export

Creates one or more SMI export drafts from profile-url orders. Returns the draft ids for review before submission. All orders in one call are filed under a single project; call once per project. A batch of up to 25 orders is created immediately. A larger batch runs as a background job that the server waits on for a few seconds, then returns the same draft ids plus the jobId. If the result has status queued, the job is still running or could not be read: call smi_get_job with its jobId to read the created export draft ids, and do not resend the orders. If the job failed, SMI does not say whether any draft was created: check existing drafts before resending anything.

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": {
      "orders": "<orders>"
    },
    "name": "smi_create_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
ordersYes
projectIdNoThe SMI project (matter/case) every order in this call is filed under. One call cannot span two projects, so call once per project. Get ids from smi_list_projects.

Output Schema

NameRequiredDescriptionDefault
modeYes
jobIdNo
statusYes
warningNo
draftIdsYes
requestedCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / orders / items / properties / isFcra
      Added value: +{
      +  "description": "Whether this order needs FCRA compliance. Set it only when the user explicitly says the order does (true) or does not (false) need FCRA compliance. Otherwise leave it out, so the project or account FCRA default applies. Never send false by default: false overrides an FCRA default and removes the compliance the account requires.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / jobId
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / mode
      Added value: +{
      +  "enum": [
      +    "sync",
      +    "async"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / status
      Added value: +{
      +  "enum": [
      +    "created",
      +    "queued"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "draftIds",
      -  "requestedCount"
      -]New value: +[
      +  "mode",
      +  "status",
      +  "draftIds",
      +  "requestedCount"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the 25-order synchronous threshold, the background-job path with its few-second wait, the meaning of a 'queued' status, and the ambiguity after a job failure. It also effectively confirms the non-idempotentHint annotation by warning against resubmission. This is exactly the operational context annotations cannot carry.

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-loaded with purpose and return value, then ordered by operational concern: batching, queued status, failure recovery. It is dense and the failure sentence is long, but nearly every clause carries decision-relevant information; only slight tightening is possible.

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 mutating, batch-capable, asynchronous tool this covers everything an agent needs: project scoping, batch limits, async fallback, and failure recovery. An output schema exists, so the description's focus on the one status value that changes behavior (queued) rather than full return shapes is the right allocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%, and the description compensates by explaining that all orders in one call share a single projectId and that a call cannot span two projects. It also implies the orders array is a batch of profile-url orders with a size limit. The nested order fields themselves are not described, but the schema documents those thoroughly, so the remaining gap is small.

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: 'Creates one or more SMI export drafts from profile-url orders,' and immediately clarifies the return value (draft ids for review before submission). That distinguishes it clearly from siblings like smi_get_export or smi_list_exports, which read rather than create.

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?

Explicit routing rules are given: 'call once per project,' 'call smi_get_job with its jobId' when status is queued, 'do not resend the orders,' and 'check existing drafts before resending anything' on failure. It also points to smi_list_projects for ids, so the agent knows both when to use this tool and which siblings to chain.

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