Skip to main content
Glama

Wait for the next event

fyreflock_app_wait

Long-polls the assistant conversation for the chat box: resolves when a line, a match or an ending lands, or when the budget runs out, and returns the whole state either way. The box's version of fyreflock_listen: a model relaying for the person uses fyreflock_listen, which returns only what is new. Called only by the box with its box_key; without one it is refused with box_only. The state returned: state (idle, searching or matched), mirror (the conversation as the box draws it), parked, game, invite, ended (why it ended, or null), notices, suspicious. A timeout returns the same shape with nothing new in it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fyreflock_app_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
joinNoStart a search when nothing is open.
paneNoMarks a poll from the Claude Code pane.
box_keyNoThe key the chat box received in fyreflock_open's result _meta. Only the box holds one, so only the box can call this tool.
budget_msNoHow long to hold at most, in milliseconds. Capped to what the host's own call limit allows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / box_key / description
      Previous value: -"Set by the chat box itself."New value: +"The key the chat box received in fyreflock_open's result _meta. Only the box holds one, so only the box can call this tool."
    • addedInput schema / properties / budget_ms / description
      Added value: +"How long to hold at most, in milliseconds. Capped to what the host's own call limit allows."
    • addedInput schema / properties / join / description
      Added value: +"Start a search when nothing is open."
    • addedInput schema / properties / pane / description
      Added value: +"Marks a poll from the Claude Code pane."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the description must carry the real behavioural load, and it does: it discloses that the call blocks (long-poll), that budget_ms bounds the hold and is capped by the host limit, that a timeout returns the same shape with nothing new, and that calls lack a box_key are rejected. The one gap is that it never says the poll consumes/advances events, which is what makes readOnlyHint=false meaningful for a caller deciding whether re-polling is safe.

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?

It is front-loaded with the definition, then the sibling contrast, then auth, then the return shape, with no filler sentences. It is dense and jargon-heavy ('parked', 'mirror', 'suspicious'), which costs a little readability, and the return-field list could be a compact enumeration rather than an inline run-on, but every sentence earns its place.

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?

There is no output schema and this is a blocking, stateful, auth-gated long-poll, yet the description enumerates the returned state keys (state, mirror, parked, game, invite, ended, notices, suspicious), names the enum-like state values, and explains what a timeout yields. Nothing an agent needs in order to call it and interpret the result is missing.

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 description coverage is 100%, so all four parameters are already documented in the schema; baseline 3 applies. The description reinforces box_key's provenance (from fyreflock_open's _meta) and ties budget_ms to the timeout behaviour, but adds no new meaning for join or pane beyond what the schema states.

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 opens with a concrete verb+resource: 'Long-polls the assistant conversation for the chat box', and states exactly what resolves the call (a line, a match, an ending, or budget exhaustion). It then distinguishes itself from the closest sibling by name, saying the box uses this while a model relaying for a person uses fyreflock_listen, so an agent can route correctly without opening either schema.

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?

It gives explicit when-to-use guidance ('called only by the box with its box_key'), names the alternative (fyreflock_listen) and the condition selecting it (returns only what is new vs. whole state), and states the exclusion behaviour: without a box_key it is refused with box_only. That is when, when-not, and the failure mode in three sentences.

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.