Skip to main content
Glama

Close build cell

stage_commit
DestructiveIdempotent

Checks every memory in a cell (one source and concept) and closes the cell when each is complete or saved as shallow; memories that pass are marked at depth. Otherwise lists each open memory with its gaps.

Input Schema

NameRequiredDescriptionDefault
brainNoBrain id or name. Defaults to the active brain.
sourceYesSource label of the cell.
conceptYesConcept (topic) of the cell.
memoryIdsNoMemory ids to check; omit to check every memory in the concept.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds useful behavior beyond that: it marks passing memories 'at depth' and returns a gap listing on failure. It does not explain what 'closing' does to the cell's state or whether the destructive change is reversible, so it stays at 3.

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 single dense sentence that front-loads the action and then gives the two outcome branches. No filler, though the compressed jargon costs some readability.

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 no output schema, the description usefully describes the failure return ('lists each open memory with its gaps'), which is exactly the kind of information an agent needs and cannot get elsewhere. The main gap is the undefined semantics of 'closes'/'at depth', which are internal vocabulary.

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 are already documented, including memoryIds' 'omit to check every memory in the concept'. The description only restates that a cell is a source plus concept and echoes the whole-cell default, adding no syntax or format detail beyond the schema.

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?

States a specific verb ('closes the cell') and resource ('every memory in a cell (one source and concept)'), with the success and failure branches spelled out. It is distinguishable from stage_propose, though the domain jargon ('cell', 'marked at depth', 'saved as shallow') means an agent needs prior context to know exactly what is being closed.

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 conditional logic implies usage (run this to finalize a staged cell), but there is no explicit statement of when to call this versus stage_propose, nor any prerequisite that staging must happen first. Usage is inferable rather than stated.

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