Skip to main content
Glama
FlowState by DialectForge

FlowState by DialectForge

Official

log_work

Record a decision, change, problem, learning or todo in a project right after it happens, so project memory stays current across AI apps and handoffs.

Instructions

Record one new decision (a choice and why), change (code or setup), problem (bug or blocker), learning (reusable lesson) or todo in a project. Call it right after each decision, change, fix or lesson, and before you end or hand back. To update todos or problems: manage_todos / manage_problems. Only adds. Review mode or suggested=true may queue it. A change on a shared component alerts linked projects. A decision close to a current one gets a possible-conflict note. conflicts_with opens a disagreement card. Secrets are refused. Returns {logged, record, note} or {queued_for_review}.

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": {
      "project": "<project>",
      "kind": "<kind>",
      "summary": "<summary>"
    },
    "name": "log_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesThe record kind (see the description).
modelNoModel name if known. Never guess.
topicNoShort topic, e.g. API sessions.
sourceNouser_stated, ai_inferred or from_code.
detailsNoWhy, or old and new values. Max 10,000 chars.
projectYesProject name or id. Required.
summaryYesThe record in one short line.
categoryNolearning only: the kind of lesson.
evidenceNoUp to 2: file:line or output: text.
priorityNotodo or problem. Default normal.
replacesNoDecision id this one replaces.
componentNoComponent name; created if missing. Shared ones too.
suggestedNotrue = queue it for the user's review.
conflicts_withNoRecord id this disagrees with.
conflicts_with_typeNoDefault decision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv2.4.3
    • changedInput schema / properties / component / description
      Previous value: -"Component name (created if missing; change / problem default General); shared ones too."New value: +"Component name; created if missing. Shared ones too."
    • addedInput schema / properties / conflicts_with
      Added value: +{
      +  "description": "Record id this disagrees with.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / conflicts_with_type
      Added value: +{
      +  "description": "Default decision.",
      +  "enum": [
      +    "project",
      +    "component",
      +    "decision",
      +    "change",
      +    "learning",
      +    "problem",
      +    "todo"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / details / description
      Previous value: -"Why, what was rejected, old / new values. Max 10,000 chars."New value: +"Why, or old and new values. Max 10,000 chars."
    • addedInput schema / properties / evidence
      Added value: +{
      +  "description": "Up to 2: file:line or output: text.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / model / description
      Previous value: -"Your model name if you know it. Never guess."New value: +"Model name if known. Never guess."
    • changedInput schema / properties / priority / description
      Previous value: -"todo / problem only. Default normal; high and medium are older names."New value: +"todo or problem. Default normal."
    • changedInput schema / properties / replaces / description
      Previous value: -"decision only: id of the decision this replaces."New value: +"Decision id this one replaces."
    • changedInput schema / properties / source / description
      Previous value: -"Where it came from: the user, your inference, or the code."New value: +"user_stated, ai_inferred or from_code."
    • addedInput schema / properties / topic
      Added value: +{
      +  "description": "Short topic, e.g. API sessions.",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv2.4.2
    • changedInput schema / properties / details / description
      Previous value: -"Why, what was rejected, old / new values."New value: +"Why, what was rejected, old / new values. Max 10,000 chars."
  3. Changed4 schema fields changedv2.3.0
    • changedInput schema / properties / component / description
      Previous value: -"Component name, created if missing (change / problem default: General). Shared components work too."New value: +"Component name (created if missing; change / problem default General); shared ones too."
    • changedInput schema / properties / details / description
      Previous value: -"Optional: why, what was rejected, old / new values."New value: +"Why, what was rejected, old / new values."
    • changedInput schema / properties / kind / description
      Previous value: -"Which kind of record (see the tool description)."New value: +"The record kind (see the description)."
    • changedInput schema / properties / suggested / description
      Previous value: -"true = queue it for the user's review instead of saving."New value: +"true = queue it for the user's review."
  4. Changed12 schema fields changedv2.1.0
    • changedInput schema / properties / category / description
      Previous value: -"Learnings only"New value: +"learning only: the kind of lesson."
    • changedInput schema / properties / component / description
      Previous value: -"Optional component name (default 'General')"New value: +"Component name, created if missing (change / problem default: General). Shared components work too."
    • changedInput schema / properties / details / description
      Previous value: -"Optional detail / reason / context"New value: +"Optional: why, what was rejected, old / new values."
    • addedInput schema / properties / kind / description
      Added value: +"Which kind of record (see the tool description)."
    • changedInput schema / properties / model / description
      Previous value: -"Your model name, if you know it (optional; never guessed)"New value: +"Your model name if you know it. Never guess."
    • changedInput schema / properties / priority / description
      Previous value: -"Todos: priority. Problems: severity. critical, urgent, normal (default), low; older names high/medium also work."New value: +"todo / problem only. Default normal; high and medium are older names."
    • changedInput schema / properties / project / description
      Previous value: -"Project name or id. Required for every write."New value: +"Project name or id. Required."
    • changedInput schema / properties / replaces / description
      Previous value: -"Decisions only: id of the earlier decision this one replaces"New value: +"decision only: id of the decision this replaces."
    • changedInput schema / properties / source / description
      Previous value: -"Where it comes from: user_stated, ai_inferred, from_code"New value: +"Where it came from: the user, your inference, or the code."
    • removedInput schema / properties / suggested / default
      Removed value: -false
    • changedInput schema / properties / suggested / description
      Previous value: -"true = put it in the review queue for the user instead of saving it"New value: +"true = queue it for the user's review instead of saving."
    • changedInput schema / properties / summary / description
      Previous value: -"One short line"New value: +"The record in one short line."
  5. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare the generic profile (not read-only, non-destructive, not idempotent); the description goes well beyond that by disclosing append-only behavior ('Only adds'), review-mode queueing, cross-project alerting for shared components, possible-conflict notes, disagreement cards via conflicts_with, secret refusal, and the return shapes. The main remaining gap is that it never says what happens on repeated identical calls, which matters given idempotentHint=false.

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?

Front-loaded with the core action, then a compact block of behavioral notes, then the return shape — no filler sentences. It is telegraphic in places ('Only adds.', 'Secrets are refused.') which costs a little readability, but every clause carries information an agent needs.

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 15-parameter write tool with no output schema, the description supplies the return contract ({logged, record, note} or {queued_for_review}), the review-queue escape hatch, and the notable side effects. What is missing is duplicate/retry behavior and any indication of what the returned 'record' contains, which would round out an otherwise complete picture.

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 coverage is 100%, so the baseline is 3, but the description adds real semantics for two fields: suggested=true means 'queue it for the user's review' and conflicts_with 'opens a disagreement card' rather than silently storing. It also flags that component creation happens implicitly. The remaining parameters (source, evidence, topic, model, category) get no extra meaning beyond the schema.

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?

Opens with a specific verb+resource ('Record one new decision... change... problem... learning... todo in a project') and enumerates the record kinds explicitly. It also names the sibling tools that handle the excluded kinds (manage_todos / manage_problems), so the agent can separate this tool from its nearest neighbors without opening a schema.

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 an explicit timing rule ('Call it right after each decision, change, fix or lesson, and before you end or hand back') and routes updates of todos/problems to manage_todos / manage_problems. That is both a when-to-use and a when-not-to-use statement, with the alternative named.

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