Skip to main content
Glama

build_brain

Compile an agent file into a deterministic, content-addressed brain. content = the file as a string; format = verdigraph_genome | claude_project_export | openai_assistant | prompt_list | auto. Returns brain_id, content_hash, node/edge counts, the 9-invariant firing report, and provenance. Identical bytes always produce the identical brain_id (VB1). include_document=true returns the full graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoauto
contentYes
request_idNo
include_documentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.1/5.0
Behavior4/5

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

Since no annotations are provided, the description bears full responsibility for behavioral transparency. It discloses the deterministic nature (identical bytes produce identical brain_id), what is returned (brain_id, content_hash, counts, firing report, provenance), and the effect of include_document. It does not mention error behaviors, required permissions, or rate limits, but given the tool's nature, the provided details are adequate.

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 description is concise (3 sentences) with front-loaded main action. Information is presented in a bullet-like flow. It could be slightly more structured, but it efficiently conveys key points without redundancy.

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?

Given the tool complexity, absence of annotations, and presence of output schema, the description provides a solid overview of purpose, parameters, outputs, and an invariant. It is sufficient for an agent to understand the tool's function and when to invoke it. Missing details about request_id and potential errors are minor gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains 'content' as a file string, 'format' with listed options, and 'include_document' effect. However, 'request_id' is not described. This is good coverage for 3 of 4 parameters, adding significant meaning beyond the schema.

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?

The description clearly states the tool's purpose: 'Compile an agent file into a deterministic, content-addressed brain.' It uses specific verbs ('Compile') and resources ('agent file', 'brain'). The tool is distinct from siblings (describe_agent, detect_format, verify_brain) which focus on description, format detection, and verification respectively.

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 description lists possible format values and explains the include_document parameter, giving context for usage. However, it does not explicitly state when to use this tool versus alternatives, nor does it provide conditions where it should not be used. Usage guidance is implied rather than explicit.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool has a distinct purpose: building a brain, detecting format, describing agent capabilities, and verifying claims. No overlapping functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (build_brain, describe_agent, detect_format, verify_brain).

Tool Count5/5

Four tools is well-scoped for the domain of agent file compilation and verification. Each tool earns its place with a distinct action.

Completeness5/5

The tool surface covers detection, compilation, description, and verification of agent files, forming a complete lifecycle for the domain.