Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Get a device

xmatters_get_a_device
Read-onlyIdempotent

Retrieve device details by ID from xMatters. Use this to view device attributes for verification or troubleshooting.

Instructions

Get a device. GET /api/xm/1/devices/{deviceID}. Body fields: none. Reference: https://help.xmatters.com/xmapi/#get-a-device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
queryNoAPI query parameters; arrays are comma-joined. Documented names: embed. Pagination is explicit using offset and limit; results are not automatically combined.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, fully covering the safety profile. The description adds a minor behavioral note that 'Body fields: none' (pertaining to the request) and provides a reference link. It does not mention response format or any edge cases, but given strong annotation coverage, this is acceptable. No contradiction with annotations.

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?

The description is compact and front-loaded with the essential action and endpoint, followed by a body-fields note and a reference. Every sentence adds value: the endpoint clarifies the API call, the body note prevents unnecessary payload, and the reference offers deeper docs. It is concise with no fluff, though the structure is a bit fragmented into three short clauses.

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 straightforward GET-by-ID operation with no output schema and strong safety annotations, the description is mostly adequate. It includes the endpoint, body requirement, and a link for detail. However, it does not mention error handling, response structure (though none is specified), or how to use the query parameters (only the schema covers that). An agent could call it correctly, but more context on potential failures or usage notes would improve completeness.

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?

The schema description coverage is 50%: the query parameter is well documented (embed, pagination, comma joining), but the deviceID within the path object has no description. The tool description adds no parameter-specific meaning, so it relies entirely on the schema. The deviceID is self-explanatory from the endpoint, but the description does not compensate for the missing schema intent. Overall, it meets the baseline but does not enhance understanding beyond the schema.

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 clearly states the action ('Get a device') and provides the exact API endpoint (GET /api/xm/1/devices/{deviceID}), which unambiguously identifies the resource and operation. It is distinct from siblings like xmatters_get_devices (list) and create/modify/delete tools, though it does not explicitly point out these differences. The endpoint format implies a single device lookup by ID.

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?

No explicit guidance is given on when to use this tool versus alternatives such as xmatters_get_devices or xmatters_get_a_person_39_s_devices. The description only states the endpoint and does not provide context for selection, prerequisites, or conditions that favor this tool. The agent must infer from the name and API path, which is insufficient given the large sibling list.

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

Deploy Server

Other Tools