Skip to main content
Glama
KlausFreiberufler

DevFlow MCP Server

knowledge_check_resolve

Manually resolve a knowledge-check warning by choosing a resolution type such as extend, create, or defer, adhering to the enforced priority order.

Instructions

Resolve a single knowledge-check warning manually. In most cases you do NOT need this tool anymore — the pre-tool-use hook on flow_update auto-calls POST /api/projects/:id/knowledge/auto-resolve which applies the Iron Law in bulk (extend > create > intent_defer; never dismiss). Use this manual tool only for surgical overrides.

Iron Law of the LLM-Wiki: extend > create > intent_defer > NEVER dismiss. The backend now ENFORCES this — calling resolutionType='dismiss' when an extend-target exists returns 400 'iron_law_dismiss_blocked' with the recommended slug.

Resolution types:

  • 'extend' — PREFERRED. Append a dated update section to an existing ADR/pattern/runbook. Pass entityType + entityId + body + rationale. Backend appends '## Update YYYY-MM-DD — extended by '.

  • 'adr' — link to a NEW/existing ADR (entityType='adr', entityId=).

  • 'pattern' — existing pattern doc covers it (entityType='doc_page', entityId=).

  • 'runbook' — existing runbook covers it.

  • 'intent_defer' — defer to a later flow. Seeds an intent doc-page; horizon: 'next-quarter'|'later'.

  • 'dismiss' — LAST RESORT. Backend rejects this whenever an extend-target exists; reserved for genuinely off-topic mentions.

flowId = the flow the warning is attached to. topic = the warning's topic string (e.g. 'billing').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYesFlow id the warning belongs to
topicYesTopic string from the warning
resolutionTypeYesHow this warning is being resolved
entityTypeNoLinked entity type ('adr' or 'doc_page'); for 'extend' it must point at the existing entry to extend
entityIdNoLinked entity id
reasonNoFree-text note (recommended for dismiss)
horizonNoFor intent_defer: 'next-quarter' | 'later'
bodyNoDF-310 — for resolutionType='extend': the markdown content to append to the existing entity (1-3 paragraphs)
rationaleNoDF-310 — for resolutionType='extend': one short sentence why this update matters
Behavior5/5

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

No annotations provided, but the description fully discloses behavior: it describes the 400 error when dismissing with an extend-target, the effect of each resolution type, and the backend enforcement of the Iron Law. This compensates for the lack of annotations.

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?

The description is well-structured with bullet points for resolution types, making it easy to scan. However, it is somewhat long; a few sentences could be tightened without losing clarity. Nonetheless, every sentence provides necessary information.

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?

Given the tool's complexity (9 parameters, no output schema), the description is comprehensive. It covers usage, parameters, error handling, and the Iron Law. No gaps are evident for an agent to correctly invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds significant value by explaining the meaning of each enum value, the conditions for 'extend' requiring 'body' and 'rationale', and the specific use of 'horizon' for intent_defer. This goes beyond the schema's descriptions.

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 clearly states the tool resolves a knowledge-check warning manually, differentiates from the auto-resolve hook, and explains the Iron Law and resolution types. It goes beyond a simple verb+resource, providing precise scope and context.

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 says 'Use this manual tool only for surgical overrides' and explains when auto-resolve should be used. It provides detailed guidance on resolution types, their order of preference, and conditions for each, such as when 'dismiss' is blocked.

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/KlausFreiberufler/devflow-mcp'

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