Skip to main content
Glama
FlowState by DialectForge

FlowState by DialectForge

Official

manage_problems

Destructive

Track a project's bugs and blockers by listing open problems, recording each attempt, and marking fixes as solved, so the shared memory keeps a full problem history.

Instructions

Work on a project's existing problems (bugs, blockers). list: open problems. tree: one problem with every attempt and its solution. add_attempt: right after a try. end_attempt: how a try ended. solve: right after the fix (manage_history undo reopens it). Open a new problem with log_work kind=problem. Reads: list, tree. Writes need project. Returns problem rows, the tree, or the saved attempt or solution.

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": {
      "action": "<action>"
    },
    "name": "manage_problems"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoModel name if known. Never guess.
notesNoend_attempt: what you learned.
actionYesThe operation; see the tool description.
compactNolist: shorter rows.
outcomeNoend_attempt: how it ended (required).
projectNoProject name or id. Required for writes; list: omit for all projects.
summaryNosolve: what fixed it (required).
attempt_idNoend_attempt: the attempt's id (from add_attempt or tree).
confidenceNoend_attempt: how sure. Default attempted.
problem_idNotree / add_attempt / solve: the problem's id.
descriptionNoadd_attempt: what you tried (required).
key_insightNosolve: the lesson, one sentence.
code_snippetNosolve: the fix as text. No secrets.
component_idNolist: only this component's problems.
parent_attempt_idNoadd_attempt: an earlier attempt this one builds on.
winning_attempt_idNosolve: the attempt that worked.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.3
    • changedInput schema / properties / model / description
      Previous value: -"Your model name if you know it. Never guess."New value: +"Model name if known. Never guess."
  2. Addedv2.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, readOnlyHint=false and idempotentHint=false across a tool that is actually mixed, so the description's split of 'Reads: list, tree. Writes need project.' is genuine added value — it tells the agent which actions are safe. It also discloses reversibility ('manage_history undo reopens it') and the return shape, though it does not say what state changes an end_attempt with outcome=failure causes or whether solve requires all attempts closed.

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?

Extremely dense but front-loaded: the resource statement comes first, then an action-by-action map, then the read/write split and return values. No sentence is filler, and even the parenthetical about manage_history undo carries decision-relevant information.

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 16-parameter, five-action, mixed read/write tool with no output schema, the definition covers what each action returns and how reads differ from writes, which is what an agent needs to choose an action. Remaining gaps are state-transition details (problem status after failure/partial outcomes) rather than anything blocking correct invocation.

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?

With 100% schema description coverage, the schema already maps every parameter to its action (attempt_id, outcome, summary, key_insight, etc.). The description mostly reiterates those bindings at a workflow level ('writes need project') rather than adding syntax, formats, or defaults the schema lacks, so baseline 3 applies.

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?

States a specific resource (a project's existing problems, i.e. bugs/blockers) and then enumerates all five actions with a one-line gloss each (list open problems, tree with attempts and solutions, add_attempt, end_attempt, solve). It also distinguishes itself from siblings by pointing at log_work for creating new problems and manage_history for undo.

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?

Gives per-action timing guidance ('add_attempt: right after a try', 'solve: right after the fix') and an explicit alternative for the adjacent case the agent is likely to confuse it with ('Open a new problem with log_work kind=problem'). It also flags the undo path via manage_history, so the agent knows the escape hatch.

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