Skip to main content
Glama
forestrie

@forestrie/mcp-resolve

by forestrie

Query registration status

query_registration
Read-onlyIdempotent

Query a signed statement's registration status by content hash: returns pending with retry timing, or the receipt URL and entry id once registered.

Instructions

One GET of {baseUrl}/logs/{bootstrapLogId}/{logId}/entries/{contentHash}, where contentHash is the hex sha256 of the signed statement bytes. Returns pending (with retryAfterMs when the server said so) or the receipt's URL and entry id. Never polls: call again yourself if you want to. Provenance: fetched. Supports: none of the four questions; this is registration status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logIdYesUUID (with dashes), or a 16/32-byte hex log id
baseUrlNoany SCRAPI base URL; falls back to FORESTRIE_BASE_URL when omitted — never defaulted by the package itself
contentHashYeshex sha256 of the signed statement bytes
bootstrapLogIdYesUUID (with dashes), or a 16/32-byte hex log id

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNo
entryIdNo
problemNo
locationNo
supportsYes
provenanceNo
receiptUrlNo
retryAfterMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, idempotent, openWorld, non-destructive), so the bar is lower; the description still adds single-shot semantics and the pending/retryAfterMs response branch. It doesn't discuss auth requirements or error cases, keeping it short of 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?

The endpoint and return shape are front-loaded in the first two sentences, and the no-polling rule is stated early. The trailing 'Provenance: fetched. Supports: none of the four questions' is meta-noise that doesn't earn its place.

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 values needn't be re-explained, and the description still summarizes the two response branches plus the non-polling contract. Nothing critical for invocation is missing, though auth and failure behavior are unaddressed.

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%, so all four parameters, including contentHash as the hex sha256 of signed statement bytes, are already documented. The description restates contentHash without adding syntax or format detail beyond the schema, matching the baseline for fully-covered schemas.

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, resource and endpoint shape (GET /logs/{bootstrapLogId}/{logId}/entries/{contentHash}) and what comes back: pending with retryAfterMs, or the receipt's URL and entry id. An agent can distinguish this from fetch_receipt, which retrieves the receipt itself rather than its locator.

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?

'Never polls: call again yourself if you want to' gives concrete retry guidance, and the return of a receipt URL (rather than the receipt) implicitly routes retrieval to a sibling. There is no explicit when-not or named alternative, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.