Skip to main content
Glama

Export collection

export_collection
Read-onlyIdempotent

Export the whole collection as CSV text. format moxfield_csv (re-importable into Moxfield) or deckbox_csv. Large collections produce large text — offer the REST endpoint /api/v1/export/collection for downloads.

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": {
      "format": "<format>"
    },
    "name": "export_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes

Output Schema

NameRequiredDescriptionDefault
csvYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile needs no restating. The description's real addition is the size/payload warning and the out-of-band REST alternative, which is genuinely useful, but it says nothing more about cost, filtering, or what a large export does to the response — a modest add over annotations.

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?

Two tight sentences, output format and options front-loaded, with the caveat last. Every clause carries information; minor cost is that the REST endpoint path is embedded inline without further framing.

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?

A read-only, single-parameter export with an output schema and full annotations needs little more than it has: what it exports, the two formats, and how to handle bulk. Nothing required to invoke it correctly is missing; only marginal operational detail (payload ceilings, auth) is absent.

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 description coverage is 0%, but there is only one parameter and the enum values are self-describing; the description does add that moxfield_csv is re-importable into Moxfield, which is real meaning beyond the raw enum. With a single required enum and a full output schema, the baseline of 3 fits — the description clarifies intent but adds no format/syntax detail.

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?

Specific verb+resource+scope: "Export the whole collection as CSV text," which separates it from export_deck (deck-scoped) even though that sibling is never named. The two format values are named immediately, so the agent knows exactly what the tool produces.

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?

Gives selection guidance between the two formats (moxfield_csv for re-import into Moxfield, deckbox_csv otherwise) and redirects large jobs to the REST endpoint /api/v1/export/collection. It stops short of stating hard limits or exclusions (e.g., when exporting a single deck instead), so it is clear context rather than full when/when-not coverage.

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