Skip to main content
Glama

declare_status

Destructive

Set an agent's thread status to working, needs_input, needs_review, blocked, or done with a one-sentence note to communicate progress and required action.

Instructions

Declare the agent's self-reported status on a thread: working, needs_input, needs_review, blocked, or done, with a one-sentence note. By the claim holder or owner; stalled is refused (system-computed only). Supersedes any prior declaration. Appends StatusDeclared. Requires thread:transition.

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": {
      "thread_id": "<thread_id>",
      "status": "<status>",
      "note": "<note>"
    },
    "name": "declare_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYesOne-sentence description of what the agent is doing
statusYes
thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false; the description corroborates and explains why by disclosing that it supersedes any prior declaration and appends a StatusDeclared event. It also surfaces the required scope (thread:transition), which annotations do not carry. It stops short of describing the refusal error or the return payload.

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?

Four tight clauses, each carrying distinct information (purpose, authority, supersede behavior, permission), with the core action front-loaded. The trailing 'Requires thread:transition' is terse and jargon-heavy, but it is not wasted text.

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 mutation tool with no output schema, it covers the important angles: who may call it, what is rejected, that it overwrites prior state, the required scope, and the emitted event. Only the failure behavior and the response content are unaddressed, which are minor gaps for an append-style status write.

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?

Schema coverage is only 33%, so the description must compensate. It does add meaning for two parameters — the note must be one sentence, and status is constrained to the five listed values with 'stalled' refused — but thread_id is left entirely unexplained in both schema and description.

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 verb ('Declare') and a precisely scoped resource ('the agent's self-reported status on a thread'), then enumerates the five legal values. It also implicitly distinguishes itself from the read-oriented siblings (get_thread_status, get_review_status) by framing the status as self-reported rather than system-computed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear authorization condition ('By the claim holder or owner') and an explicit exclusion ('stalled is refused (system-computed only)'), plus the supersede semantics that tell the agent this replaces earlier declarations. It does not name an alternative tool for reading status, but the use context is clear.

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

Deploy Server

Other Tools