Skip to main content
Glama

resolve_gap

Change a knowledge gap's status to closed, dismissed, or open based on the owner's decision, optionally linking the save that answers it.

Instructions

Changes a knowledge gap's status, when the owner says so.

status: closed (answered: by save_id, or by the candidate save already suggested),
    dismissed (not worth filling), open (back on the list).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gap_id": "<gap_id>",
      "status": "<status>"
    },
    "name": "resolve_gap"
  }
}

Input Schema

NameRequiredDescriptionDefault
gap_idYes
statusYes
save_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It discloses that this is a mutation with three reachable states (closed/dismissed/open), and that 'open' puts a gap 'back on the list', implying reversibility. It does not say what side effects resolving causes, whether closure is undoable, or what permissions beyond owner consent are required.

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?

One front-loaded sentence establishes the action and its precondition, followed by a compact status taxonomy. No filler. The indented status list is readable, though the phrasing is slightly informal and the definition of 'closed' is condensed enough to require a second read.

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?

An output schema exists, so return values needn't be spelled out, and the parameters are mostly covered. What's missing for a state-changing tool with no annotations is the surrounding behavior: side effects of closure, whether a closed gap can be reopened, and how 'the candidate save already suggested' was determined.

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 — and it largely does. It enumerates all three status values with meaning ('closed', 'dismissed (not worth filling)', 'open (back on the list)') and explains that closing is satisfied 'by save_id, or by the candidate save already suggested', clarifying the save_id parameter's role. Only gap_id is left entirely to the unambiguous name.

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+resource: 'Changes a knowledge gap's status'. The resource ('knowledge gap') is distinct from siblings like report_gap and list_gaps, so an agent can separate it without opening the schema. It stops short of explicitly naming an alternative for comparison.

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?

'when the owner says so' is a real usage gate — the agent should only resolve on owner instruction — which is more than most descriptions offer. However, there are no when-not conditions, no mention of the sibling list_gaps/report_gap workflow, and the phrase is suggestive rather than precise.

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