Skip to main content
Glama

Verify brain

verify_brain
Read-onlyIdempotent

Machine-check a cognition claim: recompute the brain from the submitted content and compare against the claimed brain_id and/or content_hash. valid=true iff every claimed identifier matches the deterministic recomputation (VB3).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "verify_brain"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoverdigraph_genome, claude_project_export, openai_assistant, prompt_list or auto (default).auto
contentYesThe agent file, as a string.
brain_idNoOptional. The claimed brain id to check.
content_hashNoOptional. The claimed content hash to check.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / brain_id / description
      Added value: +"Optional. The claimed brain id to check."
    • addedInput schema / properties / content / description
      Added value: +"The agent file, as a string."
    • addedInput schema / properties / content_hash / description
      Added value: +"Optional. The claimed content hash to check."
    • addedInput schema / properties / format / description
      Added value: +"verdigraph_genome, claude_project_export, openai_assistant, prompt_list or auto (default)."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent, closed-world and non-destructive behavior, so the safety profile is covered. The description adds the decision rule 'valid=true iff every claimed identifier matches the deterministic recomputation', which explains how the result is determined and that the computation is deterministic. That is real added value, though it says nothing about failure modes when content is unparseable or when no identifiers are supplied.

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?

A tight three-sentence definition with the action and rule front-loaded and no padding. The embedded '(VB3)' reference is internal jargon that means nothing to an outside agent and is the only real noise.

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?

With an output schema present, the description need not enumerate returns, and the annotations and full schema coverage handle safety and parameters. It leaves only minor gaps, such as what happens when content cannot be parsed into a brain, which is a moderate omission for a verification tool.

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 the schema documents all four parameters and the baseline is 3. The description's only contribution beyond the schema is the 'and/or' conjunction over brain_id and content_hash, which clarifies they can be combined; it adds no format or syntax detail for content.

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 uses a specific verb and resource ('Machine-check a cognition claim', 'recompute the brain from the submitted content') and states the comparison target, which separates it from build_brain's creation role. It stops short of naming any sibling, so differentiation is inferred 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The usage context is implied: you call it when you have a claimed brain_id or content_hash to validate against submitted content, and the 'and/or' phrasing hints either or both may be supplied. However, there is no explicit when-to-use or when-not guidance, and nothing says whether to call detect_format or build_brain first.

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.