Skip to main content
Glama
groundroof

CREHQ MCP Server

by groundroof

crehq_purchased_dataset_locations

Retrieve location rows from purchased point-in-time dataset snapshots, filtering by text, city, state, country, or radius. Includes snapshot date and access expiration.

Instructions

Query rows from a dataset snapshot the connected key owner has purchased. This is for buyer-owned point-in-time snapshots, not live CREHQ refresh. The response includes snapshot_as_of, hosted_access_until, artifact basis, and row results. If hosted access expired, it returns an upgrade/update-plan message while acknowledging that the buyer still owns the original file snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoOptional text search across name/address/city/store id.
latNoLatitude for radius search.
lngNoLongitude for radius search.
cityNoOptional city filter.
pageNoPage number for cursor/offset pagination (default 1).
stateNoOptional 2-letter state filter.
radiusNoRadius in miles for lat/lng search, max 250.
countryNoOptional 2-letter country filter.
datasetNoPurchased dataset slug, e.g. 'pilot-flying-j'.
per_pageNoResults per page (max 200, default 50).
purchase_idNoSpecific CREHQ purchase id from crehq_purchased_datasets_list.
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses the response fields (snapshot_as_of, hosted_access_until, artifact basis, row results) and the expiration behavior (returns an upgrade/update-plan message while acknowledging ownership). This goes beyond basic read/write hints, though it does not describe pagination or error handling.

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?

Three sentences, front-loaded with the core purpose, then scope, then behavior. Every sentence earns its place with no redundancy.

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?

Given 11 optional parameters and no output schema, the description provides essential context: ownership, snapshot nature, expiration behavior, and high-level response contents. It does not explicitly state whether a dataset or purchase_id is required, but the schema descriptions for those params implicitly cover it. Overall sufficient for agent understanding.

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 the baseline is 3. The description does not add parameter-specific semantics beyond what the schema already provides. It only contextualizes the purchase relationship, not how parameters combine or interact.

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?

The description clearly states a specific action (Query rows) and a specific resource (purchased dataset snapshot). It distinguishes this from live CREHQ refresh, and lists response fields, making the tool's purpose unambiguous.

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?

It explicitly states this is for buyer-owned point-in-time snapshots, not live CREHQ refresh, implying when to use it. It also references the prerequisite purchase_id from a sibling tool. However, it does not name specific alternative tools for live data or provide explicit 'when not to use' scenarios beyond the live refresh contrast.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/groundroof/crehq-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server