Skip to main content
Glama

FMF Proof

Multi-Source Consensus Answer

multi_source

Read one value from 2 to 7 public JSON sources (a URL and a path each) and get what more than half of them say, the sources that disagree with what they said, and a sha256 pin per source. Numbers can agree within a tolerance you set. No majority is a free 422, not a guess. Reference mode: name one official source and check the others against it, including a value a paid mirror gave you. robots.txt is obeyed for every source.

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

Input Schema

NameRequiredDescriptionDefault
sourcesNo2 to 7 entries: { url, path } where path names one value, e.g. data.items[0].price.
tolerance_pctNoFor numbers: how close counts as agreeing, in percent (default 0 = exact).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses majority semantics, that dissenting sources are reported, that a sha256 pin is returned per source, that no majority yields a 422 rather than a guess, and that robots.txt is obeyed for every fetch. Remaining gaps are per-source failure handling (timeouts, non-JSON, unreachable hosts) and whether anything is mutated or credentialed.

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

Conciseness5/5

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

The core capability and the majority rule come first, followed by tolerance, the 422 behavior, reference mode, and compliance — each sentence adds new information with no restatement of the title. The telegraphic phrasing is dense but never ambiguous.

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?

There is no output schema, so the description must convey returns itself, and it does: the majority value, the disagreeing sources, and per-source sha256 pins, plus the 422 failure contract. For a two-parameter read tool with no annotations, that is sufficient to invoke it correctly.

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 100%, so both parameters are already documented, including the {url, path} shape and the tolerance default of 0 = exact. The description reinforces tolerance semantics for numbers ('how close counts as agreeing') but adds no syntax or format detail beyond what the schema states, so the baseline of 3 applies.

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?

"Read one value from 2 to 7 public JSON sources ... and get what more than half of them say" states a specific verb, resource, and aggregation rule an agent can act on. It is precise about scope (single value, 2-7 sources) but never names or contrasts with plausible siblings such as price_parity or diff_receipt, so the differentiation is inferred from specificity rather than stated.

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 clear usage contexts: normal consensus mode with an optional numeric tolerance, and a distinct 'reference mode' for checking others against one official source, including a paid mirror. What is missing is any explicit when-not-to-use guidance or threshold for choosing consensus mode over reference mode beyond the one-line framing.

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