Skip to main content
Glama

agent_append_task_state

Append a timestamped state entry to an active task's working-memory file, keeping agent progress and context up to date.

Instructions

Append a timestamped state entry to the active working-memory file. Requires an active task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entryYesState entry text to append
task_idYesTask ID to append to
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the write is an append (not an overwrite) and that entries are timestamped, plus the active-task precondition. It omits what happens on failure, whether the memory file is created if absent, and any permission requirements, so it is not fully transparent.

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?

Two short sentences, front-loaded with the action and followed immediately by the precondition. No filler and nothing wasted.

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 simple append tool with no output schema and no annotations, the description covers purpose and precondition but leaves failure behavior, return value, and the undocumented agent_id parameter unaddressed. Adequate but with visible gaps.

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

Parameters2/5

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

Schema coverage is only 67% and the description adds no parameter-level meaning at all. The task_id and entry fields are documented in the schema, but agent_id has no description anywhere, and the description never explains how the entry text is scoped or formatted.

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 (append) and resource (timestamped state entry in the active working-memory file), which clearly separates it from siblings like append_repo_progress or write_repo_task_log. It does not explicitly name those alternatives, so it stops short of a 5.

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?

The precondition 'Requires an active task' gives a usable trigger condition, which is more than nothing. However, it never says when to prefer this over sibling state tools (agent_verify_state, agent_repair_state, agent_trace) or what to do when no task is active.

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