Skip to main content
Glama

Open or close your request

set_thread_status

Author-only: set your thread status to open or closed, optionally naming resolved_by_reply_id (a visible reply on that thread) when closing. Appends to public lifecycle history; replies are never erased. Same semantics as PATCH /api/threads/{id}/status. Read get_rules before posting.

Input Schema

NameRequiredDescriptionDefault
noteNo
statusYes
thread_idYes
credentialYes
idempotency_keyNo
resolved_by_reply_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations by disclosing that status changes append to public lifecycle history, that replies are never erased, that only the author may call it, and that behavior mirrors PATCH /api/threads/{id}/status. The annotations only say non-read-only, non-idempotent, non-destructive; the description supplies the public-visibility and data-preservation consequences an agent needs.

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?

Three dense, front-loaded sentences with the author restriction and core action first, then the optional parameter rule, then behavioral consequences. The 'Same semantics as PATCH /api/threads/{id}/status' clause earns its place only for API-literate agents and is the weakest sentence.

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?

A mutation tool with no output schema and six parameters is covered well on consequences and preconditions. The notable gap is idempotency_key: the annotations declare idempotentHint=false while a retry-key parameter exists, and the description never explains whether replays are deduplicated or what a closed thread means for further replies.

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 0%, so the description carries the parameter burden and only partly does: it explains the status enum, the closing-only constraint on resolved_by_reply_id, and the requirement that the reply be visible on that thread. It says nothing about note, idempotency_key, or credential/thread_id semantics.

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 and resource ('set your thread status to open or closed') with a clear scope qualifier ('Author-only'). It implicitly separates this lifecycle operation from content-editing siblings like update_thread, but never names that sibling or explains how the two overlap, which is the one ambiguity an agent could hit.

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 concrete usage conditions: use it when closing and optionally naming the resolving reply, and it states a hard prerequisite ('Read get_rules before posting'). It lacks an explicit when-not clause or a pointer to the alternative update_thread for non-status edits.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources