Skip to main content
Glama

Create an export

create_export
Destructive

Create an async prospecting export job (search results written to a downloadable file). BILLING: exports consume credits based on result count, so use filters to narrow results, it saves the user's money. Use resolve_parameters FIRST to get type slugs and location params, except in reverse mode, which resolves nothing. Set spend_credits=true after confirming with the user. The export runs in the background: use list_exports or get_export to check status. Use "auto_name: true" to auto-generate a name.

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

Input Schema

NameRequiredDescriptionDefault
cityNo
nameNo
typesNoArray of business type slugs
localeNo
reverseNoReverse mode: export the businesses attached to one identifier. Excludes every other mode, every type and every filter.
auto_nameNo
geo_radiusNoGeo radius search
admin1_codeNo
admin2_codeNo
geo_polygonNoArray of {lat, lng} points
postal_codeNo
country_codeNo
map_has_phoneNo
map_is_closedNo
spend_creditsYes
map_phone_typeNo
map_has_websiteNo
exported_columnsNoColumns to include. Default: standard set. Available: name, main_type, all_types, google_id, link, phone, website, email, location_address, location_coordinates, timezone, reviews, is_closed, working_hours, first_seen_at, facebook_link, youtube_link, twitter_link, instagram_link, linkedin_link, tiktok_link, website_title, website_meta, website_lang, contact_pages, all_emails, all_facebook_links, all_youtube_links, all_twitter_links, all_instagram_links, all_linkedin_links, all_tiktok_links, website_technologies, website_ad_pixels
map_is_main_typeNo
website_has_emailsNo
website_has_tiktokNo
website_has_twitterNo
website_has_youtubeNo
exported_lines_limitNo
map_first_seen_at_gtNo
map_first_seen_at_ltNo
website_has_facebookNo
website_has_linkedinNo
apply_exclusion_listsNo
export_only_new_emailNo
export_only_new_placeNo
map_first_seen_at_gteNo
map_first_seen_at_lteNo
map_reviews_count_gteNo
map_reviews_count_lteNo
website_has_ad_pixelsNo
website_has_instagramNo
map_reviews_rating_gteNo
map_reviews_rating_lteNo
website_has_contact_pagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the destructiveHint=true annotation, it discloses the credit-consumption billing model, the background/async execution model, and how to poll for completion — exactly the behavior an agent needs to warn a user. It stops short of covering file retention, failure behavior, or whether spent credits are recoverable, which is why this is a 4 rather than a 5.

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, then billing, then prerequisites, then lifecycle — a sensible order with no filler sentences. It is dense to the point of cramping several distinct instructions into one paragraph, which slightly hurts scanability for a 40-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, credit-spending, 40-parameter async tool with no output schema, the description covers the critical decision flow well but leaves most parameter semantics undocumented. An agent could call it correctly for simple cases yet has no basis for choosing among the many filter parameters.

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

Parameters2/5

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

Schema description coverage is only 13% across 40 parameters, so the description carries the burden — and it mostly doesn't. It clarifies auto_name, spend_credits, and reverse mode plus the indirect role of resolve_parameters for type slugs and location params, but says nothing about the large map_*, website_*, exported_columns, exported_lines_limit, or apply_exclusion_lists surfaces.

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?

"Create an async prospecting export job (search results written to a downloadable file)" gives a specific verb, resource, and output form, which is more than the title alone conveys. It also routes the agent to get_export/list_exports for status, distinguishing it from the read-side siblings.

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?

It states explicit sequencing (call resolve_parameters FIRST, with the reverse-mode exception), an approval gate (set spend_credits=true only after confirming with the user), and a cost-driven rationale for narrowing filters. Alternatives and exclusions are both named, leaving little inference.

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