Skip to main content
Glama

Prepare Site Research

prepare_site_research
Read-onlyIdempotent

Purpose: prepare a site-bound research request for the current conversation. When to use: when a user asks to research a global site question. Returns: a reviewable request and reusable site_ref, with no researched findings. Limitations: does not search the web or access account history; search depends on host availability. Supplied point/country do not prove parcel or legal jurisdiction. Parameter guidance: supply question and location or returned site_ref. Use present_site_research after obtaining cited findings, or show explicit gaps if search is unavailable. This tool never returns findings itself. Chaining: every response returns site_ref; pass it unchanged into another Atlasly tool to reuse the canonical site, coordinates, boundary confidence, LPA, evidence links, and project context.

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": {
      "question": "<question>"
    },
    "name": "prepare_site_research"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressNoSite address or postcode, with town and country outside the UK. Alternatively pass site_ref from an earlier result; do not send both for different locations.
questionYesThe user's question in their own words. It routes and labels the result; it is not answered as free text.
site_refNoCanonical site_ref returned by any previous Atlasly tool. Pass it unchanged to chain the same resolved site into this call; address, search_area, or project_id will be filled from it when omitted.
coordinatesNoUser-supplied WGS84 point {lat, lng}. Send with country_code. The point is not reverse-geocoded, so its address and planning jurisdiction stay unverified.
country_codeNoISO two-letter country code such as gb, us, in or fr. Required with coordinates and for addresses outside the UK.
radius_metersNoSearch radius in metres around the site. Requests above the caller's limit (1,000 m without an account, 2,000 m with one) are reduced or rejected.

Output Schema

NameRequiredDescriptionDefault
queryNo
statusYes
detailsNo
messageNo
sourcesYes
headlineYes
site_refYes
retryableNo
error_codeNo
atlasly_linkYes
error_sourceNo
human_messageNo
key_data_pointsYes
top_constraintsYes
confidence_notesYes
executive_summaryYes
next_best_actionsYes
top_opportunitiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / address / description
      Added value: +"Site address or postcode, with town and country outside the UK. Alternatively pass site_ref from an earlier result; do not send both for different locations."
    • addedInput schema / properties / coordinates / description
      Added value: +"User-supplied WGS84 point {lat, lng}. Send with country_code. The point is not reverse-geocoded, so its address and planning jurisdiction stay unverified."
    • addedInput schema / properties / country_code / description
      Added value: +"ISO two-letter country code such as gb, us, in or fr. Required with coordinates and for addresses outside the UK."
    • addedInput schema / properties / question / description
      Added value: +"The user's question in their own words. It routes and labels the result; it is not answered as free text."
    • addedInput schema / properties / radius_meters / description
      Added value: +"Search radius in metres around the site. Requests above the caller's limit (1,000 m without an account, 2,000 m with one) are reduced or rejected."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/open-world, but the description adds substantive behavior: it does not search the web or access account history, search depends on host availability, and supplied coordinates/country do not prove parcel or legal jurisdiction. It also discloses the chaining contract (every response returns site_ref to reuse canonical site state), which annotations cannot convey.

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?

Labeled sections (Purpose / When to use / Returns / Limitations / Parameter guidance / Chaining) put the most load-bearing information first with no filler. Minor redundancy between 'with no researched findings' and 'This tool never returns findings itself' keeps it from a 5.

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?

For a six-parameter, nested-object tool with an output schema, the description covers scope, non-goals, availability limits, jurisdiction caveats, and cross-tool chaining. Nothing material an agent needs to call it correctly is omitted.

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 baseline is 3. The description still adds routing value by stating 'supply question and location or returned site_ref' and 'pass it unchanged into another Atlasly tool', clarifying the address-vs-site_ref choice and reuse semantics beyond the field-level docs.

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: 'prepare a site-bound research request for the current conversation' and explicitly clarifies what it does not produce ('no researched findings', 'This tool never returns findings itself'). This cleanly separates it from siblings like present_site_research and analyze_site.

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?

Provides an explicit 'When to use' trigger, names the follow-up alternative (present_site_research after cited findings) and the fallback behavior when search is unavailable ('show explicit gaps'). The agent knows both the entry condition and the next step without inspecting siblings.

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