Skip to main content
Glama

FirstSited

Export sites

export_sites

A bulk export of matching sites, up to 5,000 at once, for building a list or loading into a spreadsheet. Same filters as find_sites. Ask for csv output if the result is going into a file. For counts, shares or 'which X do these sites use', call stack_breakdown instead; it answers in one call and needs no export. Counts one site from the monthly allowance for each site not already returned to you this period, so this is the call most likely to ask you to confirm first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_sites"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNoAlso return the rows as CSV text, ready to save as a file.
nearNoOnly sites near a place: a town or city, a postcode, or 'lat,lng', e.g. Bristol. Use with radius. Sites we could not place are left out.
limitNoHow many sites to export, 1-5000. Default 1000.
sinceNoEarliest launch date, YYYY-MM-DD.
untilNoLatest launch date, YYYY-MM-DD. Inclusive of the whole day.
radiusNoHow far from near, e.g. 30mi or 50km (a bare number is km). From 5 to 248 miles (8 to 400 km).
confirmNoSet true to skip the cost confirmation and return the data immediately.
countryNoCountry as an ISO 3166-1 alpha-2 code, e.g. GB. Names are accepted too.
regionsNoOnly sites in these states, provinces or other regions, e.g. ["Texas", "Oklahoma"]. Each a name, a name and country such as 'Georgia, US', or an id such as US-TX. A site matches if it is in ANY of them. Sites we could not place are left out.
categoryNoProduct category, e.g. ecommerce.
keywordsNoWhole words to look for in a site's name, title or description, e.g. photogrammetry. Matches ANY of them; a multi-word entry is a phrase. Three characters or more, up to ten words. Combines with every other filter, so 'Stripe sites that mention photogrammetry' is technology plus keywords. The same rule create_watch uses, so a word that filters here is the word a watch would fire on.
technologyNoTechnology name, exactly as returned by list_technologies.
observedSinceNoEarliest date we first recorded the site, YYYY-MM-DD. Use this rather than 'since' when building an incremental export on a schedule.
hasContactPageNoOnly sites that have a published contact page. Needs the 'contacts' permission.
includeQualityNoInclude quality bands for each site.
hasContactEmailNoOnly sites that have a published contact email. Needs the 'contacts' permission.
formedWithinDaysNoOnly UK registered companies formed in the last N days, e.g. 30 for companies formed this month: a new company whose website has just gone live. Implies registeredCompany. 1 to 3650.
registeredCompanyNoOnly sites run by a UK registered company: the site shows its company number or legal name and it matched a limited company, PLC or LLP at Companies House. Every such site carries a company object (number, name, form, date formed, industry codes). UK only, so it finds nothing with another country. true for only those; false or omitted for no filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / formedWithinDays
      Added value: +{
      +  "default": null,
      +  "description": "Only UK registered companies formed in the last N days, e.g. 30 for companies formed this month: a new company whose website has just gone live. Implies registeredCompany. 1 to 3650.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / registeredCompany
      Added value: +{
      +  "default": null,
      +  "description": "Only sites run by a UK registered company: the site shows its company number or legal name and it matched a limited company, PLC or LLP at Companies House. Every such site carries a company object (number, name, form, date formed, industry codes). UK only, so it finds nothing with another country. true for only those; false or omitted for no filter.",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the metering model: one site is counted from the monthly allowance for each site not already returned this period, and this is the call most likely to prompt a cost confirmation. That is exactly the behavioral context an agent needs before invoking it. It does not describe the shape of the returned rows, which keeps it off 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tight paragraph, front-loaded with purpose and limit, then the alternative, then the output-format hint, then the cost caveat last. Every sentence carries distinct information; none is filler.

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?

For an 18-parameter, output-schema-less tool, it covers the risky and decision-relevant parts: cost model, confirmation prompt, shared filter semantics and the csv option. It never indicates what fields come back or how quality bands appear when includeQuality is set, which is the one remaining gap given there is no output schema.

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 100%, so the baseline is 3, but the description adds transferable meaning: the filters are the same as find_sites, and csv should be requested when the result goes into a file. The keyword-rule sentence also ties filtering semantics to how create_watch fires, which the schema alone would not tell the agent.

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 plus scope: 'A bulk export of matching sites, up to 5,000 at once, for building a list or loading into a spreadsheet.' It also routes away from siblings by noting it shares filters with find_sites and that stack_breakdown covers count questions.

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 when-to-use (building a list, loading into a spreadsheet, saving to a file via csv) and explicit when-not-to-use ('For counts, shares or which X do these sites use, call stack_breakdown instead'). It even explains why the alternative is better ('it answers in one call and needs no 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