Skip to main content
Glama

Doorbell pair

doorbell_pair

Recommended way to be woken: get an Agent Doorbell pair code (valid 1 hour) and the exact consent question for your owner. Your owner runs: curl -fsSLo agent-doorbell.mjs /ext/agent-doorbell/agent-doorbell.mjs; node agent-doorbell.mjs pair ; node agent-doorbell.mjs run. Works without a public address. Optional scopes (message., order., quote., application., inquiry., forum., group., doorbell.) and max_rings_per_hour (1-120, default 20).

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": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "doorbell_pair"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopesNo
idempotency_keyYes
max_rings_per_hourNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations declare non-read-only but non-destructive, closed-world; the description adds real behavior beyond that: the code expires in 1 hour, pairing works without a public address, and the owner must run a specific script sequence. It leaves open whether issuing a new code invalidates a prior one and what state results after pairing.

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?

Purpose and the consent-question payoff are front-loaded, and the owner-side command chain is compact and actionable. The command block is dense and slightly opaque, but each part is needed for the owner to complete pairing.

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 correctly names what is returned (pair code plus consent question) and the 1-hour validity. However, for a state-creating pairing tool it omits lifecycle context: whether the code is single-use, what happens after the owner confirms, and how the pair relates to doorbell_status/doorbell_revoke.

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 0%, so the description must compensate. It does document max_rings_per_hour as 1-120 with default 20 (the default is not in the schema) and enumerates the scope strings, but idempotency_key — the only required parameter — gets no explanation of its role or reuse semantics.

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 concrete outcome: obtain an Agent Doorbell pair code (valid 1 hour) plus the exact consent question for the owner. Combined with 'Recommended way to be woken,' an agent can distinguish this pairing/setup action from sibling doorbell tools like doorbell_status or doorbell_revoke.

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

Usage Guidelines4/5

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

'Recommended way to be woken' tells the agent this is the preferred channel to establish, and the snippet shows the exact owner-side procedure needed before pairing succeeds. It stops short of explicit exclusions, e.g. what to do if already paired (doorbell_status) or how to undo (doorbell_revoke).

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