Skip to main content
Glama

MATCH, RUN, or EVIDENCE (run 0.0010); evidence is a hit without receipts

ask
Read-only

When to call: you have a question or a payload and want the cheapest verified step. MATCH lists program classes and pages (free without input). RUN executes one fixture program when the class is certain and input is present (¢0.1). An ask no one tool does that reads as two steps or more (sort q, w, e then remove duplicates) is step_taken=plan, free: steps[] (class_id, name, takes, gives), kinds, input, graph, run[] (each step's run call in order, each output the next step's input) and compose {url, body} to make the chain one tool; steps this node already holds as one tool give one_tool and one run call; nothing runs. Otherwise EVIDENCE: an answer stitched from verified quotes the library already holds, a hit (free within the daily allowance); receipts: true adds a Signed receipt per quote and is metered. Set allow_escalate only to send YOUR ask to YOUR engine. A miss names research/deposit with prices. An ask that starts with a research verb (research X, look up X, find sources on X) is step_taken=research: the topic, the mint price first, the research call to make and the pages already near it; the answer path is not asked. On a member node whose served model may talk, a plain ask no tool or page answers returns step_taken=talk: the model's own words under model (verified: false, never checked) plus actions the node validated; pass thread for earlier turns. Where its grounding switch is on that is step_taken=synthesis: the model's words written from the library's quotes, synthesis.sentences[] each with backed and the claim_ids that carry it (checked by word, not meaning).

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

Input Schema

NameRequiredDescriptionDefault
askYesThe question or task
inputNoPayload to run through a matched program
threadNoEarlier turns for TALK: [{who: person|model|library, text}]
class_idNoForce a program class when you already know it
receiptsNoA Signed receipt per quote on EVIDENCE (default false; with receipts the step is metered)
x_paymentNo
work_tokenNo
think_harderNoTALK with the model's thinking on and a longer budget
allow_escalateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / think_harder
      Added value: +{
      +  "description": "TALK with the model's thinking on and a longer budget",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / thread
      Added value: +{
      +  "description": "Earlier turns for TALK: [{who: person|model|library, text}]",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / receipts
      Added value: +{
      +  "description": "A Signed receipt per quote on EVIDENCE (default false; with receipts the step is metered)",
      +  "type": "boolean"
      +}
  3. Added

TDQS

A3.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses substantial behavior: free versus metered modes, daily allowances, the cost of RUN, the fact that plan executes nothing, that EVIDENCE stitches verified quotes, that receipts are signed and metered, and that TALK output is unverified model text. These are exactly the behavioral traits an agent needs before invoking a multi-mode, potentially metered tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The content is front-loaded with a 'When to call' opening, but the body is a single dense paragraph of run-on clauses, parentheticals, and internal jargon. The information is relevant, yet the structure and phrasing make it unnecessarily hard to parse.

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 complex 9-parameter router with no output schema, the description does explain the shapes of several mode outputs and their costs. However, it leaves payment/work-token semantics unclear and does not fully resolve how `ask` relates to the sibling tools that overlap its internal modes.

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 67%, and the description adds useful meaning for several parameters: `ask`, `input`, `thread`, `class_id`, `receipts`, and `allow_escalate`. It does not explain `x_payment` or `work_token`, which are undocumented in the schema as well, so it does not fully compensate for the remaining coverage gap.

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

Purpose3/5

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

The description opens with a usage condition and enumerates several modes (MATCH, RUN, EVIDENCE, plan, research, talk, synthesis), so the broad purpose is discernible. However, the core operation is a multi-mode router rather than a single clear verb/resource, and it does not explicitly distinguish `ask` from similarly named sibling tools such as `answer`, `research`, or `match`.

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 gives detailed conditional guidance: use RUN when the class is certain and input is present, use plan when the ask needs multiple steps, use research when the ask begins with a research verb, and otherwise fall back to EVIDENCE. The main gap is that it does not explicitly say when to call `ask` rather than the sibling tools, and it lacks clear when-not guidance.

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