Skip to main content
Glama

Update Gap

engramic_update_gap
DestructiveIdempotent

Update an existing gap. Provide the gap's ID and only the fields you want to change.

To answer a gap, set status to 'filled' and give answeredBy (the e_… or t_… id of the decision, discovery or topic that answers it) or a note. To reopen it, set status to 'open'.

Retrieve the gap first with engramic_topic (by ID) to confirm it exists and check your permissions before updating.

Returns the updated gap with your current permissions on it.

Input Schema

NameRequiredDescriptionDefault
idYesTopic ID (e.g. t_xxxxxxxx)
noteNoWith status 'filled': the answer in words, if no record or topic holds it (1 to 2000 characters).
labelNo
detailNo
statusNo
parentIdNo
validFromNo
answeredByNoWith status 'filled': the id (e_… or t_…) of the decision, discovery or topic that answers the gap.
referencesNo
validUntilNo
classificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description adds useful behavior about partial updates and that the response carries the caller's permissions. It does not warn what the destructive flag means in practice (e.g. whether clearing detail or status transitions lose prior data), and the 'check your permissions' advice is the only hint that writes may be rejected.

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?

Three short paragraphs, front-loaded with the core action, then the status workflow, then the prerequisite lookup. Nearly every sentence earns its place; the closing return-value sentence is borderline but still informative.

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

Completeness3/5

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

For a destructive, 11-parameter mutation with nested objects, no output schema and thin schema descriptions, the definition covers the main workflow but leaves most optional parameters and their interactions undocumented. An agent can perform the common answer/reopen case correctly but would be guessing on detail, parentId, validity dates and references.

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 only 27% across 11 parameters, so the description must compensate more than it does. It adds real meaning for id, status, answeredBy and note (including the e_…/t_… id format and the open/filled transition), but label, detail, parentId, validFrom/validUntil, references and classification receive no explanation anywhere.

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?

"Update an existing gap" states a specific verb and resource, and the follow-up sentence clarifies the partial-update contract ("only the fields you want to change"). The 'gap' resource distinguishes it from update_concept/update_goal/update_resource siblings, though it never explicitly contrasts with engramic_create_gap or the other update_* tools.

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

Usage Guidelines4/5

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

Gives concrete workflow conditions: set status to 'filled' with answeredBy or note to answer a gap, set status to 'open' to reopen one, and call engramic_topic first to confirm existence and permissions. It names a sibling as a prerequisite rather than as an alternative, so the when-not-to-use case is left implicit.

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