Skip to main content
Glama

Export a collection

create_export

Get a link to a collection's places as one file: csv, json or xlsx. The file has the places the collection holds now, even if it is still running. The link opens without an API key for 24 hours, so share it only with people who should see the file. Needs an API key. Costs no credits.

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": {
      "collectionId": "<collectionId>"
    },
    "name": "create_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoThe file type: csv, json or xlsx. An xlsx file holds up to 50,000 places.csv
localeNoThe language of the column names in csv and xlsx files: en, es or pt-BR. Defaults to your account's language.
collectionIdYesThe collection to export, as create_collection or search_places returned it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / locale / description
      Previous value: -"The language of the column names in csv and xlsx files: en or pt-BR. Defaults to your account's language."New value: +"The language of the column names in csv and xlsx files: en, es or pt-BR. Defaults to your account's language."
    • changedInput schema / properties / locale / enum
      Previous value: -[
      -  "en",
      -  "pt-BR"
      -]New value: +[
      +  "en",
      +  "pt-BR",
      +  "es"
      +]
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the security-relevant behavior (link opens without an API key for 24 hours), the auth requirement (needs an API key), the cost (no credits), and the snapshot semantics. That is exactly the extra behavioral context annotations cannot express.

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?

Four short sentences, each carrying distinct information, with the purpose front-loaded and no repetition of schema detail. Nothing here is padding.

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?

The description covers what comes back (a link), how long it lives, secrecy expectations, auth, and cost — strong for a tool with no output schema. The one gap is whether the link is returned synchronously or requires a follow-up via get_export.

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 format and locale are already fully documented with enums and defaults, so the description adds nothing on locale and only restates the file types. Baseline 3 is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific action and resource: turning a collection's places into one downloadable file and returning a link. It is clear on its own, but it never distinguishes itself from the sibling get_export, leaving ambiguous whether the link comes back immediately or whether the export must be polled.

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

Usage Guidelines3/5

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

It gives real usage context — the file is a snapshot of what the collection holds now, even mid-run — but it names no alternative and no exclusion, so the agent gets no explicit rule for choosing this over get_export or for handling a slow export.

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