Skip to main content
Glama

Ministry of Gems — Gemmology & Gemstones

Verify a Digital Gemstone Passport

verify_gem_passport
Read-onlyIdempotent

Cryptographically verify a Ministry of Gems Digital Gemstone Passport by stone ID. Recomputes the SHA-256 digest of the signed record and checks its Ed25519 (EdDSA) signature against the house public key, then returns the attested record: species, carat, dimensions, cut, colour, clarity, origin, treatment and certificate status. Use when a buyer asks whether a stone or its passport is genuine, or before quoting any fact about a specific Ministry of Gems stone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stone_idYesStone ID as printed on the passport or product page, e.g. "12322", "RUBY-B0797", "80067".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
foundNo
titleNo
issuedNo
recordNo
sha256No
statusNo
stone_idNo
verifiedNoTrue only when digest and signature both check out.
corpus_urlNo
fingerprintNo
product_urlNo
register_urlNo
digest_matchesNo
signature_validNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds behavioral detail beyond these: it explains the cryptographic process (recomputing SHA-256, verifying Ed25519 signature against the house public key) and enumerates the returned attested record. This is meaningful context, though failure behavior for invalid signatures or unknown IDs is not described.

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?

Three sentences, each earning its place: the first states the core action, the second explains the verification mechanism and output, the third gives usage guidance. The most critical information is front-loaded with no fluff.

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?

For a read-only, idempotent verification tool with a single well-documented parameter and an output schema, the description covers purpose, method, returned fields, and usage context. Nothing essential for an agent to invoke it correctly is missing.

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% and the single parameter stone_id is fully documented with format and examples. The description primarily repeats 'by stone ID' and does not add new parameter-level semantic detail, so the baseline of 3 is appropriate.

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

Purpose5/5

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

States a specific verb ('verify'), a precise resource ('Digital Gemstone Passport by stone ID'), and the method (SHA-256 recomputation, Ed25519 signature check). Clearly differentiates from siblings like get_gem_product or lab_report_check, which do not claim cryptographic authenticity verification.

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?

Provides explicit when-to-use triggers: when a buyer asks if a stone/passport is genuine, or before quoting any fact about a specific stone. It does not explicitly list exclusions or alternatives, but the context is clear enough for an agent to select this tool over similar ones.

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