Skip to main content
Glama

cdeck_pair

Pair with the Apple TV showing a 6-character code. Assign a distinct local name to each TV you pair so multiple devices stay distinguishable.

Instructions

Pair with the Apple TV showing this 6-character code. name labels this TV locally (default 'tv'); use distinct names if you pair more than one TV.

Input Schema

NameRequiredDescriptionDefault
codeYes
nameNotv

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that names are local labels with a default of 'tv' and that distinct names matter for multiple TVs, but says nothing about failure modes, whether pairing persists across sessions, network/prerequisite requirements, or whether re-pairing replaces an existing entry.

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?

Two sentences, the action and its input front-loaded, followed by the only non-obvious parameter caveat. No filler.

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?

An output schema exists so return values needn't be explained, and both params are described. But with zero annotations and no behavioral notes on persistence, idempotency, or errors, the agent lacks information needed to recover from a failed pairing or decide whether to re-pair.

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

Parameters4/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 — and it does: `code` is characterized as the 6-character code shown on the TV, and `name` as a local label defaulting to 'tv' with guidance to use distinct names for multiple TVs. That covers both parameters meaningfully, though it doesn't state code format constraints beyond length.

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 specific verb and resource — pairing with an Apple TV using a 6-character code — and is immediately distinguishable from the sibling set (cdeck_unpair, cdeck_push, cdeck_list). An agent knows exactly what operation this performs without opening the schema.

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?

Implies the precondition that the TV must be displaying a pairing code, which is real usage context. It doesn't route the agent away from alternatives (e.g., when to use cdeck_unpair or cdeck_status instead), but for a single-purpose pairing tool the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.