Skip to main content
Glama
Tetragon
by wckdboy

collect_site_context

Fetches and retains BBR, Skråfoto catalogue and site map data as hashed project references for a resolved site origin, separating registry metadata from measured geometry.

Instructions

Fetch and retain BBR, Skråfoto catalogue and a site map as hashed project references. Requires a resolved site origin; keeps registry metadata separate from measured geometry.

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": {
      "project_id": "<project_id>",
      "expected_revision": "<expected_revision>"
    },
    "name": "collect_site_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
radius_mNo
project_idYes
expected_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses a prerequisite (resolved site origin) and a data-organization trait ('keeps registry metadata separate from measured geometry'), but leaves unexplained what 'retain' means (persistence/scope), what is returned, idempotency, and how expected_revision governs the operation.

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?

Two tight sentences, front-loaded with the primary action, with no filler. The second clause about metadata separation is dense but earns its place.

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

Completeness2/5

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

This is a multi-source fetch/store operation with a revision parameter and no annotations or output schema, yet the description omits return format, persistence semantics, and all parameter meaning. It is under-specified for the tool's complexity.

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

Parameters1/5

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

Schema coverage is 0% and the description mentions none of the three parameters. It never explains project_id, expected_revision (why a revision is required), or radius_m (default 100), so an agent gets no meaning beyond the bare schema names and types.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Fetch and retain') and concrete resources (BBR, Skråfoto catalogue, site map as hashed project references), which distinguishes it from siblings like bind_site_address or prepare_site_reference. Domain jargon (BBR, Skråfoto) slightly limits clarity but the core purpose is legible.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides one prerequisite ('Requires a resolved site origin'), which is genuine usage guidance. However, it does not state when to prefer this over siblings like prepare_site_reference, nor any exclusions or ordering relative to those tools.

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