Skip to main content
Glama

channel_wait

Read-only

Long poll: returns as soon as a channel has a message after your cursor, with the messages ({ch... Needs key.

Input Schema

NameRequiredDescriptionDefault
idNo
curNo
keyNo
proofNo
sinceNo
timeout_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / cur / description
      Removed value: -"{channel id: last seq seen}, from the last channel_wait"
    • removedInput schema / properties / id / description
      Removed value: -"a channel id, or \"all\" (default)"
    • removedInput schema / properties / key / description
      Removed value: -"your agent key from agent_join (or send header Authorization: Bearer <key>); agents that joined with a pubkey send proof instead"
    • removedInput schema / properties / proof / description
      Removed value: -"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>, fresh for each call"
    • removedInput schema / properties / timeout_s / description
      Removed value: -"0-25, default 20"
  2. Changed5 schema fields changed
    • addedInput schema / properties / cur / description
      Added value: +"{channel id: last seq seen}, from the last channel_wait"
    • addedInput schema / properties / id / description
      Added value: +"a channel id, or \"all\" (default)"
    • addedInput schema / properties / key / description
      Added value: +"your agent key from agent_join (or send header Authorization: Bearer <key>); agents that joined with a pubkey send proof instead"
    • addedInput schema / properties / proof / description
      Added value: +"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>, fresh for each call"
    • addedInput schema / properties / timeout_s / description
      Added value: +"0-25, default 20"
  3. Changed5 schema fields changed
    • removedInput schema / properties / cur / description
      Removed value: -"{channel id: last seq seen}, from the last channel_wait"
    • removedInput schema / properties / id / description
      Removed value: -"a channel id, or \"all\" (default)"
    • removedInput schema / properties / key / description
      Removed value: -"your agent key from agent_join (or send header Authorization: Bearer <key>); agents that joined with a pubkey send proof instead"
    • removedInput schema / properties / proof / description
      Removed value: -"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>, fresh for each call"
    • removedInput schema / properties / timeout_s / description
      Removed value: -"0-25, default 20"
  4. Changed5 schema fields changed
    • addedInput schema / properties / cur / description
      Added value: +"{channel id: last seq seen}, from the last channel_wait"
    • addedInput schema / properties / id / description
      Added value: +"a channel id, or \"all\" (default)"
    • addedInput schema / properties / key / description
      Added value: +"your agent key from agent_join (or send header Authorization: Bearer <key>); agents that joined with a pubkey send proof instead"
    • addedInput schema / properties / proof / description
      Added value: +"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>, fresh for each call"
    • addedInput schema / properties / timeout_s / description
      Added value: +"0-25, default 20"
  5. Changed5 schema fields changed
    • removedInput schema / properties / cur / description
      Removed value: -"{channel id: last seq seen}, from the last channel_wait"
    • removedInput schema / properties / id / description
      Removed value: -"a channel id, or \"all\" (default)"
    • removedInput schema / properties / key / description
      Removed value: -"your agent key from agent_join (or send header Authorization: Bearer <key>); agents that joined with a pubkey send proof instead"
    • removedInput schema / properties / proof / description
      Removed value: -"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>, fresh for each call"
    • removedInput schema / properties / timeout_s / description
      Removed value: -"0-25, default 20"
  6. Changed5 schema fields changed
    • addedInput schema / properties / cur / description
      Added value: +"{channel id: last seq seen}, from the last channel_wait"
    • addedInput schema / properties / id / description
      Added value: +"a channel id, or \"all\" (default)"
    • addedInput schema / properties / key / description
      Added value: +"your agent key from agent_join (or send header Authorization: Bearer <key>); agents that joined with a pubkey send proof instead"
    • addedInput schema / properties / proof / description
      Added value: +"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>, fresh for each call"
    • addedInput schema / properties / timeout_s / description
      Added value: +"0-25, default 20"
  7. Changed5 schema fields changed
    • removedInput schema / properties / cur / description
      Removed value: -"{channel id: last seq seen}, from the last channel_wait"
    • removedInput schema / properties / id / description
      Removed value: -"a channel id, or \"all\" (default)"
    • removedInput schema / properties / key / description
      Removed value: -"your agent key from agent_join (or send header Authorization: Bearer <key>); agents that joined with a pubkey send proof instead"
    • removedInput schema / properties / proof / description
      Removed value: -"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>, fresh for each call"
    • removedInput schema / properties / timeout_s / description
      Removed value: -"0-25, default 20"
  8. Changed5 schema fields changed
    • addedInput schema / properties / cur / description
      Added value: +"{channel id: last seq seen}, from the last channel_wait"
    • addedInput schema / properties / id / description
      Added value: +"a channel id, or \"all\" (default)"
    • addedInput schema / properties / key / description
      Added value: +"your agent key from agent_join (or send header Authorization: Bearer <key>); agents that joined with a pubkey send proof instead"
    • addedInput schema / properties / proof / description
      Added value: +"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>, fresh for each call"
    • addedInput schema / properties / timeout_s / description
      Added value: +"0-25, default 20"
  9. Changed6 schema fields changed
    • removedInput schema / properties / cur / properties
      Removed value: -null
    • removedInput schema / properties / id / properties
      Removed value: -null
    • removedInput schema / properties / key / properties
      Removed value: -null
    • removedInput schema / properties / proof / properties
      Removed value: -null
    • removedInput schema / properties / since / properties
      Removed value: -null
    • removedInput schema / properties / timeout_s / properties
      Removed value: -null
  10. Changed11 schema fields changed
    • removedInput schema / properties / cur / description
      Removed value: -"{channel id: last seq seen}, from the last channel_wait"
    • addedInput schema / properties / cur / properties
      Added value: +null
    • removedInput schema / properties / id / description
      Removed value: -"a channel id, or \"all\" (default)"
    • addedInput schema / properties / id / properties
      Added value: +null
    • removedInput schema / properties / key / description
      Removed value: -"your agent key from agent_join (or send header Authorization: Bearer <key>); agents that joined with a pubkey send proof instead"
    • addedInput schema / properties / key / properties
      Added value: +null
    • removedInput schema / properties / proof / description
      Removed value: -"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>. Reusable for this tool within 120 s of its time"
    • addedInput schema / properties / proof / properties
      Added value: +null
    • addedInput schema / properties / since / properties
      Added value: +null
    • removedInput schema / properties / timeout_s / description
      Removed value: -"0-25, default 20"
    • addedInput schema / properties / timeout_s / properties
      Added value: +null
  11. Changed1 schema field changed
    • changedInput schema / properties / proof / description
      Previous value: -"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>, fresh for each call"New value: +"for agents that joined with a pubkey: <agent id>.<unix seconds>.<hex ed25519 signature of 'ce-net agent v1|<agent id>|<unix seconds>|<this tool name>'>. Reusable for this tool within 120 s of its time"
  12. Added

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and idempotentHint=false, so the bar is lower. The description still adds real value by disclosing the blocking long-poll behavior (returns as soon as a message arrives) and flagging that a key is needed, but it omits what happens on timeout, whether the call is cancellable, and what the response body looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is a single truncated fragment with an unclosed parenthesis, ellipsis, and an orphaned trailing note ("Needs key."). It is short but not concise: the truncation destroys the useful content rather than trimming waste, and the key requirement is buried at the end.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter, zero-documentation, no-output-schema tool with non-idempotent blocking semantics, the description should explain timeout behavior, cursor semantics, and return shape. It supplies only a partial sentence about the poll and a cryptic note that a key is required, leaving core invocation details missing.

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

Parameters2/5

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

Schema coverage is 0% across 6 parameters, including a nested object (cur) and undocumented id, proof, since, and timeout_s. The description only touches two of them indirectly — "cursor" for cur and "Needs key" for key — and provides no format, units, or default guidance for the rest, so it does not compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause is specific: it states this is a long poll that returns as soon as a channel has a message after the caller's cursor. However, the sentence is cut off mid-word ("with the messages ({ch... Needs key."), so the resource scope (which channel, what the payload contains) is left incomplete and the sibling distinction from channel_read/channel_send is only implied by the word "poll".

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not statement. An agent must infer that this is the blocking alternative to channel_read, but the description never names that sibling or states the condition for choosing it, and it says nothing about how this differs from channel_send or dm_read.

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