Skip to main content
Glama

Query public evidence with semantic controls

query_evidence
Read-onlyIdempotent

Deterministic public evidence operations: aggregate (distinct cases or records), latest_evidence (publication cutoff), assess_version_transfer, assess_delivery_autonomy, assess_task and known_at. Always public scope, including for subscribers. Returns canonical rows, typed evidence gaps, references and snapshot hashes. No arbitrary SQL or general natural-language input. Read /v1/evidence/contract and https://whyhumanoid.com/evidence/ for fields and examples.

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": {
      "request": "<request>"
    },
    "name": "query_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesStructured operation from /v1/evidence/contract; e.g. {"operation":"aggregate","metrics":["cases","records"]}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / request / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavioral context: deterministic operations, a forced public scope even for authenticated subscribers, and the shape of what comes back (canonical rows, typed evidence gaps, references, snapshot hashes). It omits rate limits, pagination, and error behavior, so not 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.

Conciseness4/5

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

Front-loaded with the operation set, then scope, return shape, input restriction, and a doc pointer — a sensible ordering with no filler sentences. The register is telegraphic and jargon-dense ('typed evidence gaps', 'snapshot hashes'), which costs some readability but not much space.

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?

It correctly compensates for having no output schema by describing the return payload, and it flags the external contract for field detail. However, with a nested free-form request object and zero enums, the description alone cannot let an agent construct a valid non-aggregate request — it must fetch /v1/evidence/contract out-of-band, which is a material completeness gap for this tool's complexity.

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 nominally 100%, but the single 'request' parameter is a free-form object whose operation vocabulary appears nowhere in the schema except one aggregate example. The description is the only place the six valid operations are listed and supplies the hard input-form constraint, which is real added meaning. It loses a point because per-operation field requirements are deferred entirely to the external contract.

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?

Names a specific resource (public evidence) and enumerates concrete operations (aggregate, latest_evidence, assess_version_transfer, etc.), plus a scope statement that 'Always public scope, including for subscribers' distinguishes it from generic retrieval siblings like get_rows. It stops short of 5 because operation names like 'assess_delivery_autonomy' carry no plain-language gloss, so the agent must infer what each does.

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?

The description gives a real negative constraint ('No arbitrary SQL or general natural-language input') and a documentation pointer, which implies usage but never states when to prefer this over siblings such as search_catalogue or get_rows, nor any exclusions or preconditions. Guidance is implied rather than explicit.

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.