Skip to main content
Glama

kb_repair

Find written but unfindable notes in your notebook. Get a worklist of notes missing required fields, so you can repair them and make them searchable.

Instructions

List the notebook notes that are WRITTEN BUT UNFINDABLE — missing the fields a note cannot be retrieved without (identityAliases, anchor symbols, a flow's verified paths). Notes written before those fields were required are correct but unreachable, and this is how they get found.

Returns a worklist, never a change: repairing is your work, because every gap needs a judgement about the code (which words a reader would search for, which symbols the note is actually about, which files you can honestly claim to have read). Fix each one with kb_write, passing the note's id — fields merge, so nothing already in the note is lost.

A clean notebook returns "Nothing to repair here." Run it when the user asks to repair, fix, or clean up the notebook.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It does well: explicitly states the tool 'Returns a worklist, never a change', describes the empty-notebook sentinel ('Nothing to repair here.'), and clarifies that notes written before the fields were required are 'correct but unreachable' — disclosing the tool's non-destructive diagnostic nature. It doesn't over-claim error/rate behavior, but the safety profile (read-only worklist) is clearly conveyed.

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?

Three well-organized sentences: purpose, what-it-returns/next-steps, and usage trigger. Every sentence earns its place with concrete, actionable detail. The key information (returns worklist, never a change; fix with kb_write passing id; merge semantics; empty-notebook sentinel) is front-loaded and complete.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter diagnostic tool with no output schema, the description is complete. It covers what is found, why notes are unfindable, what the tool does NOT do (doesn't repair), how to fix each issue (kb_write + id + merge), the clean-notebook output, and when to run it. No gaps remain.

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?

The tool has 0 parameters and schema coverage is 100%, so there are no parameters to document. Per the rubric, 0 params = baseline 4. The description adds no param-specific detail because none is needed.

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 uses a specific verb+resource ('List the notebook notes') with a clear scope ('WRITTEN BUT UNFINDABLE'), and gives concrete examples of what makes a note unfindable (missing identityAliases, anchor symbols, verified paths). It clearly distinguishes this from siblings by framing it as a diagnostic/worklist tool rather than a search or write tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly states when to run it ('when the user asks to repair, fix, or clean up the notebook') and contrasts with kb_write ('Fix each one with kb_write'). It also warns that repairing is the user's (agent's) work, requiring judgement about code, and clarifies the tool returns a worklist never a change. The merge semantics are stated so the agent knows replays don't lose data.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AkashGoenka/coldstart'

If you have feedback or need assistance with the MCP directory API, please join our Discord server