Skip to main content
Glama
dirkjanfaber

mcp-server-surepetcare

rename_device

Set a new name for a SurePetcare device (like a cat flap) while automatically restoring an active lock override (0-3) so the device is not left unlocked.

Instructions

Rename a SurePetcare device (e.g. a cat flap). Automatically re-asserts any explicit lock override (0-3) that was active beforehand, since the underlying rename endpoint has been observed to silently reset it to unlocked otherwise.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNew name for the device
deviceIdYesNumeric device ID (from list_devices)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses a non-obvious side effect (the underlying endpoint silently resets the lock override to unlocked) and the mitigation (the tool automatically re-asserts any pre-existing override 0-3). This is exactly the kind of hidden behavior an agent needs to know before invoking.

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, front-loaded with what the tool does and followed by the critical side-effect caveat. The longer second sentence is dense but every clause (silent reset, automatic re-assertion, value range 0-3) earns its place.

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

Completeness4/5

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

For a two-parameter tool with full schema coverage and no output schema, the description covers purpose and the key behavioral caveat. It does not mention whether the updated device is returned or any permission requirements, but nothing essential to calling it correctly 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 both parameters (deviceId, name) are already documented, including the pointer that deviceId comes from list_devices. The description adds no additional parameter syntax or format detail, so the baseline of 3 applies.

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 (rename) and resource (SurePetcare device, with a concrete example of a cat flap), making it immediately distinguishable from siblings like set_lock_state or list_devices. An agent can identify the operation 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?

The purpose makes the usage context clear (renaming an existing device identified by deviceId), and the description adds a contextual warning about lock overrides. It does not name explicit alternatives or exclusions, but no sibling competes for this operation, so the guidance is adequate.

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