Skip to main content
Glama

tascan_post_message

Idempotent

Post a message on a task trail (protocol v0.2 trail_messages): kind question, answer, handoff or discussion. A message never completes a task, never satisfies a gate and never pages anyone. The actor is stamped from your credential (key:, actor_type "key" — a credential, never a human), never from the body; the executor and the reviewer consume a key's answers only when the key holds agent:dispatch. On an ordinary task this is write tier. On a CYCLE task (one with coord) it needs agent:dispatch (agent:dispatch:code when the task, or the asker a question task stands for, is CODE:/SHELL:) because the text can become executor prompt or reviewer input. kind=answer on a dispatcher-addressed question task answers it through coord_answer_question and releases the blocked asker; a human-addressed question is answered only on the worker page (403 here). finding (reviewer runner) and decision (human completion) cannot be posted. Body ≤ 8000 chars; idempotency_key makes a replay return the same message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesThe message text (1-8000 chars). Treated as DATA by every reader; on a cycle task it may be prepended to the executor prompt as TRAIL INPUT.
kindYesquestion = a question for the record (does not block anything); answer = answers a dispatcher question task and releases the asker; handoff = hand work or context to the next agent; discussion = a note.
task_idYesTask ID (UUID). For an answer: the QUESTION task id (tascan_get_task on the asker shows coord.blocked_by).
reply_toNoOptional message id this replies to.
addresseeNoOptional, kind=question only: who the question is for (recorded; nobody is paged).
build_refNoOptional sha256:<64 hex> the message is about (defaults to the cycle task's bound build).
idempotency_keyNoOptional replay key (≤ 200 chars): the same key on the same task returns the same message id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A5/5.0
Behavior5/5

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

Annotations already mark idempotentHint=true and readOnlyHint=false, but the description goes well beyond them. It discloses that the actor is stamped from the credential, never the body; that on CYCLE tasks text can become executor prompt or reviewer input; and that idempotency_key makes a replay return the same message. It also states side-effect behavior like releasing a blocked asker.

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?

The description is dense but every clause earns its place. Core purpose is front-loaded, followed by exclusions, permission tiers, special-case behaviors, and constraints, with no filler or repetition of 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?

For a 7-parameter write tool with no output schema, the description is remarkably complete: it covers protocol, permissions, exclusions, special routing, idempotency, length limits, and behavior on CYCLE tasks. An agent can determine whether to call this tool and which parameter values are valid without needing external context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds substantial meaning: body length cap, the meaning of answer in the dispatcher vs human case, the replay behavior of idempotency_key, and the CYCLE-task prompt implications. It also clarifies that no actor parameter is needed because identity comes from the credential.

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?

The description states a specific verb and resource, 'Post a message on a task trail,' and immediately narrows the protocol and kinds: 'protocol v0.2 trail_messages: kind question, answer, handoff or discussion.' It also differentiates itself from task-completion actions by declaring that a message 'never completes a task, never satisfies a gate and never pages anyone.'

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?

The description explicitly specifies when this tool is appropriate and when it is not: ordinary tasks are 'write tier,' CYCLE tasks require agent:dispatch, human-addressed questions return 403, and finding/decision kinds 'cannot be posted.' It also states the effect of kind=answer on dispatcher-addressed question tasks, giving an agent clear routing context without needing another tool description.

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.