Skip to main content
Glama

Export a search’s results as CSV

export_search

Returns a search’s results as CSV text, one row per creator in rank order, as the dashboard’s export does: handles and profile links only for unlocked creators, and emails only for ones already revealed. Exporting costs no credits and records the returned creators as exported for this account. Later searches can omit them with excludeExported. Save csv to a file named filename.

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": {
      "searchId": "<searchId>"
    },
    "name": "export_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoall results (default), or only the ones added to a campaign
searchIdYesSearch id, from search_creators, find_similar_creators or list_searches

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only flag this as a non-destructive but state-changing call; the description goes well beyond that by disclosing the zero-credit cost, the persistent exported-marking side effect, and how that affects later searches. It also discloses data gating: handles and profile links only for unlocked creators, emails only for already-revealed ones, which is critical for interpreting the output.

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?

Dense but front-loaded: format, row granularity, and ordering appear first, followed by gating, cost, and side effect. Nearly every clause carries information the agent needs; the trailing 'Save csv to a file named filename' is the one sentence whose referent is unclear and could mislead.

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?

With no output schema, the description carries the full burden of explaining the return value and does so: CSV text, one row per creator, rank order, and which columns are populated under which unlock/reveal state. Side effects and cost are covered too, so an agent has enough to call it and interpret the result correctly.

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%, so searchId and the all/added scope enum are already fully documented, and the description adds no further guidance on choosing a scope. The closing reference to 'csv' and 'filename' appears to describe response fields rather than a third parameter, but because neither name exists in the schema it reads as a stray, ambiguous reference.

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 ('Returns a search's results as CSV text') plus the shape of the payload ('one row per creator in rank order'). This makes it immediately distinguishable from the sibling get_search, which returns search structure rather than a per-creator export.

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 the operative context for choosing it: it mirrors the dashboard export, costs no credits, and marks creators as exported so later searches can drop them with excludeExported. That effectively warns about the side effect before invocation, though it never names an explicit alternative or a when-not-to-use condition.

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