Skip to main content
Glama

set_card_agent_activity

Publish an agent's claim on a card: 'I'm working on this' (NOV-91). Last-write-wins; a second agent overwrites the first. The server stamps started_at so reads expire stale claims after 10 minutes. The next card mutation (update / move / archive) automatically clears the field. Use this when a Lambda or worker picks up a card; pair with clear_card_agent_activity on graceful completion. Mirrors POST /v1/cards/{id}/agent_activity. The response carries a top-level unique_id: the resolved human key ("BUG-12"), or null when the board defines no unique_id property.

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": {
      "card_id": "<card_id>",
      "agent_name": "<agent_name>",
      "doing": "<doing>"
    },
    "name": "set_card_agent_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
doingYes
card_idYes
agent_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: last-write-wins concurrency semantics, server-stamped started_at, a concrete 10-minute stale-claim expiry, automatic clearing on update/move/archive, and the REST endpoint it mirrors. These are exactly the behaviors an agent cannot infer from the schema.

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?

Front-loads the action, then layers concurrency, lifecycle, trigger, and return-value notes in descending order of importance. Every sentence adds a distinct operational fact; nothing is redundant padding.

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?

An output schema exists, yet the description still flags the one non-obvious return field (top-level unique_id, nullable when no unique_id property is defined), which is the piece an agent would otherwise misread. Combined with the lifecycle rules, nothing needed to invoke this correctly is missing.

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 description coverage is 0%, so the description must compensate. It only partially does: the quoted 'I'm working on this' implicitly maps to the `doing` payload and 'an agent's claim' implies `agent_name`, but no parameter is named or characterized (length, format, whether agent_name must be unique). The `card_id` UUID expectation is left entirely to the schema.

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 ('Publish') and resource ('an agent's claim on a card'), plus the literal semantic meaning of the write ("I'm working on this"). It is immediately distinguishable from the sibling clear_card_agent_activity, which it names as the inverse operation.

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

Usage Guidelines5/5

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

Explicit trigger condition ('Use this when a Lambda or worker picks up a card') and an explicit pairing rule with clear_card_agent_activity on graceful completion. It also pre-empts the question of manual cleanup by noting the next card mutation clears the field automatically.

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