Skip to main content
Glama

vicem_rehydrate

Restores exact, secret-redacted source code of skeletonized functions or classes from the ledger, replacing { ... } placeholders with the original implementation on demand.

Instructions

Restores the exact, secret-redacted source code of a skeletonized function/class from .vicem/ledger.json so you never write { ... } placeholders.

Input Schema

NameRequiredDescriptionDefault
file_pathYesRelative file path (e.g. src/auth.ts)
symbol_nameYesFunction, method, or class name (e.g. verifyJwt)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose two meaningful traits: the data source (ledger.json) and that secrets are redacted in the returned code. It does not state what happens when a symbol is missing/not skeletonized, nor any permission or error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero waste; the core action and its justification are stated immediately.

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?

For a simple two-parameter read tool with no output schema and no annotations, the description conveys what comes back (exact redacted source) and where it comes from. Only failure/edge-case behavior is unstated, which is a minor gap.

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 both parameters are already documented with examples. The description adds nothing beyond the schema, so the baseline 3 is appropriate.

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 (restores) and resource (secret-redacted source code of a skeletonized function/class) with its source (.vicem/ledger.json). The operation is clearly distinct from the baton/guard siblings, though it does not explicitly name or contrast them.

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 phrase 'so you never write { ... } placeholders' implies the context of use (when a function body has been skeletonized), but there is no explicit when-to-use/when-not guidance or reference to alternatives such as vicem_read_baton.

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