Skip to main content
Glama

get_thread_status

Read-onlyIdempotent

Read the agent status declaration active on a thread — working, needs_input, needs_review, blocked, or done — with its note and declarer. Returns null when no declaration is active.

Instructions

Read the agent status declaration currently active on a thread: status (working, needs_input, needs_review, blocked or done), a one-line note, declared_by and declared_at. Returns null when none is active; a declaration is cleared by a human reply, by a newer declaration, or when the declarer's claim ends. This is what the agent says it is doing, not the thread's workflow state. The holder sets it with declare_status. Requires workspace:read and read access to the thread's channel.

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>"
    },
    "name": "get_thread_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYesUUID of the thread whose status declaration to read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / thread_id / description
      Added value: +"UUID of the thread whose status declaration to read."
  2. First observedv479.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description goes well beyond them: it states the exact return shape, that null is returned when nothing is active, and the three clearing conditions (human reply, newer declaration, declarer's claim ending). It also declares the auth requirements (workspace:read plus read access to the thread's channel), which is precisely the kind of context annotations cannot carry.

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?

Four tight sentences: what it reads, what it returns including the null case, lifecycle/clearing semantics, and access requirements. The key distinction from workflow state is front-loaded and nothing is repeated from the schema.

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?

There is no output schema, so the description carries the return contract itself and does so fully, listing all four fields and the null case. Lifecycle and permission notes round out everything needed to call this correctly on a single-parameter read tool.

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 100% and the single thread_id parameter is fully documented in the schema as a thread UUID, so the schema does the parameter work. The description adds only indirect meaning (the declaration belongs to that thread) and no format or edge-case guidance beyond the schema; 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?

Opens with a specific verb+resource: "Read the agent status declaration currently active on a thread," then enumerates the returned fields. It explicitly separates itself from the thread's workflow state and names declare_status as the counterpart setter, so an agent can place it among siblings 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 Guidelines4/5

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

Clear context for use: read the declaration that an agent set via declare_status, and the explicit exclusion "This is what the agent says it is doing, not the thread's workflow state" steers away from the workflow-state getters. It does not spell out a when-not-to-call condition or name a specific alternative for workflow state, so it falls just short of the top band.

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