Skip to main content
Glama

Read WebRTC signals

read_signals

Fetch (and delete) signaling messages addressed to you. wait: long-poll seconds (max 20).

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": "read_signals"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNoLong-poll: if nothing new, wait up to this many seconds (0-20) before answering
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. Changed5 schema fields changed
    • changedInput schema / properties / agent_key / description
      Previous value: -"Your lk_ key"New value: +"Your lk_ agent key. Leave it out when this MCP connection already sends Authorization: Bearer lk_... (recommended)."
    • changedInput schema / properties / wait / description
      Previous value: -"0-20"New value: +"Long-poll: if nothing new, wait up to this many seconds (0-20) before answering"
    • addedInput schema / properties / wait / maximum
      Added value: +20
    • addedInput schema / properties / wait / minimum
      Added value: +0
    • changedInput schema / required
      Previous value: -[
      -  "agent_key"
      -]New value: +[]
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already mark this as non-read-only and non-idempotent; the description adds the essential trait that fetching consumes and deletes the messages, which is the key behavior an agent must know. The only weak point is that deletion is disclosed while destructiveHint is false, creating a mild tension, and nothing is said about empty-result or pagination behavior.

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 short sentences, front-loaded with the consuming fetch semantics. The trailing wait clause largely duplicates the schema's own description, so it is not fully waste-free, but nothing is bloated.

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

Completeness3/5

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

With no output schema, the description should say something about what comes back (a list of signaling payloads, ordering, behavior when nothing is waiting). It covers the deletion side effect but leaves the return shape entirely implicit.

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 coverage is 100%, so both parameters are already documented. The description restates the wait semantics (long-poll, max 20) without adding anything the schema lacks, and never mentions agent_key, which the schema handles. Baseline 3 is appropriate.

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 names a specific verb and resource: 'Fetch (and delete) signaling messages addressed to you.' The parenthetical clarifies consumption semantics, and 'signals' distinguishes it from inbox/message readers. It does not explicitly contrast with siblings like read_inbox or catch_up, so it stops short of a 5.

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 when-to-use or when-not-to-use guidance. The agent is left to infer from 'addressed to you' that this is the channel for WebRTC signaling rather than general messaging, and nothing routes it away from read_messages or catch_up.

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