Skip to main content
Glama
robertsmieja

xmatters-mcp

by robertsmieja

Get a shared library

xmatters_get_a_shared_library
Read-onlyIdempotent

Retrieve a shared library's details by its library ID to access its configuration.

Instructions

Get a shared library. GET /api/xm/1/shared-libraries/{libraryId}. Body fields: none. Reference: https://help.xmatters.com/xmapi/#get-a-shared-library

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
queryNoAPI query parameters; arrays are comma-joined. Documented names: none. 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

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering the safety profile. The description adds the endpoint and a reference link but no additional behavioral details such as return format or error conditions. It is not contradictory, and the added context is minimal.

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?

The description is exceptionally concise with three short sentences, including the endpoint and a helpful reference link. Every sentence earns its place without fluff, and it is front-loaded with the core purpose.

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 simple read operation with one required path parameter and no output schema, the description is largely complete. It includes the endpoint and a documentation reference. The only minor gap is not mentioning that query parameters are flexible but undocumented, though that is already in the schema. Given the tool's simplicity, it is sufficiently complete.

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 already documents the required path.libraryId and describes the query object (with no documented names but pagination behavior). The tool description does not add meaning beyond the endpoint showing {libraryId}, which is redundant with the schema. Since schema coverage is adequate, a baseline 3 is appropriate.

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?

The description clearly states 'Get a shared library' and includes the exact API endpoint with {libraryId}, making the verb and resource specific. It is distinct from the sibling tool 'get_shared_libraries' which lists libraries, so purpose differentiation is clear.

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 description implies this tool is used to retrieve a single shared library by ID, given the path parameter, but it does not explicitly mention when to prefer this over the list endpoint or any alternative. No exclusions or context is provided, though the purpose is clear enough to infer usage.

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