Skip to main content
Glama

AssetLab

List compliance PM schedules

list_compliance_pm_schedules
Read-onlyIdempotent

List the PM schedules linked to a compliance item, or the compliance items a PM schedule counts toward. Pass compliance_item_id or pm_schedule_id (one is required). Each link carries required_frequency_days (how often the schedule must be completed for the item to stay compliant) and weight.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pm_schedule_idNoPM schedule ID - resolve via list_pm_schedules
compliance_item_idNoCompliance item ID - resolve via list_compliance_items

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this as a safe, idempotent, non-destructive read, so the safety profile is covered. The description adds value beyond that by disclosing the invocation constraint ('one is required') and the shape/meaning of returned link fields (required_frequency_days semantics, weight).

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 compact sentences, front-loaded with the purpose and followed by the invocation constraint and return-field meaning. Every sentence carries weight, though it is slightly dense in the final sentence.

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?

With no output schema, the description usefully describes the returned link fields (required_frequency_days, weight). For a two-param junction-list tool with full schema coverage and read-only annotations, this is nearly complete; only the 'one is required' wording versus an empty required array in the schema leaves minor ambiguity.

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 coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by explaining that passing compliance_item_id lists PM schedules and the reverse lists compliance items, plus the mutual-exclusivity/one-required rule. This clarifies each parameter's effect rather than just restating it.

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 (List) and resource (PM schedules linked to a compliance item), and crucially explains the bidirectional nature of the junction ('or the compliance items a PM schedule counts toward'). This clearly distinguishes it from the singular get_compliance_pm_schedule and the general list_pm_schedules.

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 description provides clear invocation context by explaining the two modes (filter by compliance item vs. by PM schedule) and the constraint that one ID is required. It stops short of naming alternatives or exclusions (e.g., vs. get_compliance_pm_schedule), so it is clear context but not fully explicit routing.

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.

Resources