Skip to main content
Glama

Validation results

validate
Read-onlyIdempotent

Test site-selection methods by hiding k-means blocks, rebuilding from remaining shops, and scoring held-out shop ranking with AUC and precision@k versus random.

Instructions

Spatially blocked hold-out (5 k-means blocks): hide a block's shops, rebuild from the rest, and score how well each method ranks the held-out independent-shop hexes (AUC, precision@k) against a random baseline. method: all, overlay, overlay_demand_only, embeddings (= embeddings_esri), embeddings_numpy, random.

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": "validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodNoall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered; the description adds genuine behavioral context beyond that: a fixed 5-block spatial hold-out scheme, the hide-and-rebuild procedure, and the AUC / precision@k scoring against a random baseline. It does not mention expected runtime or cost of running five rebuilds, which is the main behavioral omission.

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?

The definition is two sentences, front-loaded with the procedure and followed by the accepted method values, with no filler. The first sentence is dense and slightly run-on, but each clause conveys operative information.

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 single-optional-parameter tool with no output schema, the description covers what is computed and the acceptable method strings. It still leaves the return shape (per-method AUC/precision@k table?) and the meaning of 'all' unstated, which is a meaningful gap given no output schema exists to fill it.

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 0% and the single 'method' parameter is a free-form string with no enum in the schema, so the description carries the burden. It does list the accepted values (all, overlay, overlay_demand_only, embeddings, embeddings_numpy, random) and notes the embeddings alias, which is real added meaning, but it never explains what 'all' does or how these methods differ, leaving the agent to guess the default's behavior.

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?

The description states a concrete operation: hide a k-means block of shops, rebuild from remaining blocks, and score how each ranking method performs on held-out independent-shop hexes. That is a specific verb-plus-resource statement rather than a restatement of the name 'validate'. It does not explicitly contrast itself with siblings such as hot_spots or overlay_suitability, so it stops short of a 5.

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?

Usage is implied by phrases like 'score how well each method ranks the held-out independent-shop hexes ... against a random baseline', which tells the agent this is a model-evaluation call rather than a data-retrieval call. However, there is no explicit when-to-use or when-not-to-use guidance and no named alternative for agents who simply want hot spots or suitability output.

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