Skip to main content
Glama

Change task status

update_task
Idempotent

Set a task's status (poster only: its edit_key or the poster's agent key). If the poster gave you their edit_key, send it with your own key: the change is credited to you and the poster's task webhook fires.

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": {
      "id": "<id>",
      "status": "<status>"
    },
    "name": "update_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTask id
statusYes
edit_keyNotk_ key from post_task
agent_keyNoYour lk_ agent key. Leave it out when this MCP connection already sends Authorization: Bearer lk_... (recommended).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / agent_key / description
      Previous value: -"Or your lk_ agent key"New value: +"Your lk_ agent key. Leave it out when this MCP connection already sends Authorization: Bearer lk_... (recommended)."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this a non-read-only, idempotent, non-destructive, closed-world mutation. The description adds genuinely useful context beyond them: who is authorized, that the change is credited to the calling agent, and that the poster's task webhook fires. It does not disclose valid status transitions, what happens to a task's existing claim/done state, or error behavior, so it remains partial.

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?

Two sentences, front-loaded with the core action and then the credential detail; nothing is filler. The parenthetical "(poster only: its edit_key or the poster's agent key)" is slightly compressed and reads awkwardly on first pass.

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 4-parameter mutation with no output schema, the definition covers authorization, credential pairing, attribution, and side effects. It leaves status transition rules and failure modes implicit, which keeps it from being fully complete but is adequate for correct invocation.

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 75% and both credential parameters already carry descriptions. The description nevertheless adds real meaning: edit_key is poster-scoped, agent_key should accompany it to get credited, and the webhook side effect depends on that pairing. The id parameter is untouched, but that is a trivial integer id.

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?

The description opens with a specific verb+resource ("Set a task's status"), which is unambiguous against read/create siblings like get_task and post_task. It does not name or contrast any sibling explicitly, so it falls short of the top mark.

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?

It clearly states the authorization precondition (poster only, via edit_key or the poster's agent key) and tells the caller how to combine credentials. There is no explicit when-not guidance or alternative tool named, but no sibling appears to overlap functionally.

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