Skip to main content
Glama

Route schedules

patroltech_routes_get_schedules
Read-onlyIdempotent

Use when you want to know at what times and on which days a route is run. Returns the numbered schedules of a route in the local time of the account (days on which each one starts and its time window; an end before the start crosses midnight) and whether the route is active. Do not use when you need what happened in past rounds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "patroltech_routes_get_schedules"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeNoRoute name. Omit it (do not send it empty) if the user has not given one.
organizationNoOmit unless the account has more than one organization; then the exact name (or id) as listed by patroltech_account_get_context.

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 readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description goes beyond them by disclosing the return semantics: local account time, numbered schedules, an end-before-start window crossing midnight, and the active flag.

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, no filler: purpose plus return shape first, exclusion last. Every clause earns its place and the most important routing cue is front-loaded.

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

Completeness5/5

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

No output schema exists, so the description must carry the return-value burden, and it does: schedule numbering, timezone basis, midnight-crossing convention, and active status. Combined with rich annotations and a fully documented two-parameter schema, nothing needed to call 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 coverage is 100% and both parameters (route, organization) are documented with non-obvious guidance (omit rather than send empty; only supply organization for multi-org accounts). The description adds nothing about parameters, so the schema carries the load — baseline 3.

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 and resource — returns the numbered schedules (days and time windows) of a route, plus whether it is active. A 'do not use' clause carves it away from past-round/round-history siblings, so an agent can distinguish it without opening another 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?

Gives an explicit use case ('when you want to know at what times and on which days a route is run') and an explicit exclusion ('do not use when you need what happened in past rounds'). It does not name the alternative tool, but the boundary is unambiguous.

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.