Skip to main content
Glama

Reload or put a screen to sleep

send_presence_command

Reload or put a screen to sleep

The tablet picks the command up within about half a minute. Fails with 409 when the screen is not paired.

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": {
      "deviceId": "<deviceId>",
      "body": "<body>"
    },
    "name": "send_presence_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe request fields as one JSON object.
deviceIdYesdeviceId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations by disclosing asynchronous delivery ("picks the command up within about half a minute") and the failure mode (409 when the screen is not paired). That is the kind of context annotations cannot express. It stays silent on what a successful call returns or whether a queued command can be superseded, but the core behavior is covered.

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?

Three short, front-loaded sentences with no filler; the action statement comes first and the operational caveats follow. The opening line duplicates the title verbatim, which is a small redundancy.

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?

For a low-complexity command-dispatch tool with no output schema, the delivery latency and 409 condition make it reasonably callable. It still leaves the success response and offline/queued behavior undefined, and gives no hint that a paired device must exist first.

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?

With 100% schema coverage, the schema already documents deviceId and the command enum. The description's first line effectively restates the two allowed command values but adds no format or constraint detail (e.g., deviceId must be a paired device) beyond what the schema provides.

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?

Names specific verbs and a concrete resource: "Reload or put a screen to sleep," with the tablet as the target. It clearly is not a CRUD tool like create_presence_device or list_presence_devices, though it never explicitly contrasts itself with any sibling.

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

Usage Guidelines3/5

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

The two enum-like modes (reload, sleep) are named in the title line, which implies when the tool applies, and the 409-not-paired note hints at a prerequisite. However, there is no explicit guidance on when to choose this over other presence tools, nor on preconditions such as pairing first.

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.