Skip to main content
Glama

Verify Fair Price (Signed Receipt)

verify_fair_price

工事の適正価格を、検証可能な形(算出内容のSHA-256ハッシュ付き)で返す。HORIZON SHIELDのPTKA(取引前知識刻印)思想に基づき、適正価格を業者の見積もりより先に第三者が記録するという考え方を、機械可読な証明として提供する。エージェントが価格の真正性を検証したい時に使う。 / Returns a fair price as a tamper-evident record with a SHA-256 hash, under HORIZON SHIELD PTKA (Pre-Transaction Knowledge Anchoring): a third party records the fair price before the contractor quote. Japan price data. Use when an agent needs to verify price authenticity.

Input Schema

NameRequiredDescriptionDefault
workYes工事名(例: 外壁塗装 30坪)

Output Schema

NameRequiredDescriptionDefault
countNoHow many records matched. 0 means the source was read and nothing matched. It never means the source could not be read, that returns isError: true.
lookupNook = the source was read and something matched. absent = the source was read and nothing matched. A source that could NOT be read never appears here: that returns isError: true and makes no claim about what does or does not exist.
provenanceNoデータ出典・監修・再計算手順
source_readNotrue on every successful result. A failed lookup does not return a result at all, so this is never false, it is declared so a consumer can assert on it.
did_you_meanNoNear matches, when an exact match was not found.
verificationNoclaim_sha256, verify_url, ptka
fair_price_claimNo刻印対象の主張(JSON.stringifyしてSHA-256すると claim_sha256 になる)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, which is otherwise surprising for a tool named 'verify', and the description earns credit for explaining it: a third party records/anchors the price pre-quote and the returned record carries a SHA-256 hash of the computation. It adds tamper-evidence and jurisdictional scope beyond the structured fields, though it does not say whether repeated calls produce distinct receipts (relevant given idempotentHint=false) or what auth the anchoring requires.

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

Conciseness3/5

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

The core claim (returns a fair price with a SHA-256 hash) is front-loaded, which is good, but the description is then padded with duplicated Japanese/English prose and brand-concept language (HORIZON SHIELD, PTKA) that restates the same idea twice without adding operational detail. It is longer than the single-parameter tool warrants.

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

Completeness4/5

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

An output schema exists, so return shape need not be described, and the annotations cover the safety/idempotency profile. The description supplies the domain scope and the tamper-evidence mechanism, leaving only minor gaps around repeat-call behavior and any prerequisite attestation source.

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 description coverage is 100% for the single 'work' parameter, including a concrete example, so the schema already carries the semantics. The description adds only the domain hint that pricing is Japan-based; it contributes nothing about the 'work' string's expected granularity beyond what the schema shows.

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 verb and resource — it returns a fair price as a tamper-evident record with a SHA-256 hash — and adds the domain constraint (Japan price data) plus the PTKA framing that explains why the record is trustworthy. It does not name or distinguish itself from close siblings such as get_price_range, preview_reverse_estimate, or get_fair_price_sources, so an agent still has to infer the boundary from the name alone.

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?

It gives one positive trigger: 'Use when an agent needs to verify price authenticity.' There is no when-not guidance and no named alternative, even though verify_integrity_claim and get_price_range occupy adjacent territory. Usage is implied rather than bounded.

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