verify_artifact
Recompute an artifact record hash and verify it against the DAG ledger.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Recompute an artifact record hash and verify it against the DAG ledger.
| Name | Required | Description | Default |
|---|---|---|---|
| artifact | Yes |
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real value by disclosing the mechanism — hash is recomputed and compared to the DAG ledger as source of truth — but says nothing about what a mismatch yields or any cost of recomputation (output schema covers return shape).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with zero filler; the operation and its comparison target come before anything else. Nothing could be trimmed without losing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The output schema means return values need not be explained, and annotations cover the safety profile. However, for a tool taking an undocumented nested artifact object, the description leaves the most failure-prone part — the expected input shape — entirely unaddressed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There is one parameter and schema description coverage is 0%; the artifact is a free-form nested object with additionalProperties=true, so the schema provides no field guidance. The description does not say what the artifact object must contain (id, hash, path, version) to be verifiable, leaving the agent to guess.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb+resource: 'recompute an artifact record hash and verify it against the DAG ledger' tells the agent exactly what operation occurs. It is distinguishable from siblings like get_artifact and register_artifact by the verification action, though it never names those siblings explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: the word 'verify' suggests checking integrity against the ledger, but there is no statement of when to prefer this over get_artifact (fetch) or verify_certificate (a different verification target), nor any prerequisites or failure conditions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.