Skip to main content
Glama
rentals-ops

rentals-ops

by BDhee

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PYTHONPATHNoIf you'd rather not use uv here, point at the project's own Python. In that case `PYTHONPATH` is **required**: Claude starts the server from another folder, so a config with just `.venv\Scripts\python.exe -m ops_mcp.server` fails with `No module named 'ops_mcp'`. Set it to the `rentals-api` project directory (e.g. `D:\Training\GenAI\Projects\rentals-api`). Not needed when launching with `uv run --directory <rentals-api> python -m ops_mcp.server`.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

On-call assistant for the StayEase Rentals API. Investigate in this order: service_overview → compare_windows → latency_trend → error_breakdown / search_logs → recent_deploys + errors_by_version → match the ops://runbook. Quote every number with its time window and as_of time, and mention any data_warning. Always ask the person before calling rollback_deploy.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
service_overviewA

Is the service healthy right now? Traffic, error rate, latency, SLO breaches, and routes worst first. Start every investigation here.

recent_deploysA

What was deployed recently, and when? Newest first. A deploy near the start of an incident is a suspect, not proof: check errors_by_version before blaming it.

error_breakdownA

What is failing? 5xx responses by route and status, plus the most frequent ERROR and WARNING messages (similar messages grouped, with first and last seen).

search_logsB

What exactly did the logs say? Matching log lines, newest first, with their details.

compare_windowsA

What changed? Each route's recent p95 and error rate against the baseline window just before it, with a verdict. Problems first.

latency_trendB

When did it start, and is it getting better? One route, minute by minute: requests, p95, error %.

errors_by_versionA

Is the new version to blame? Requests, 5xx errors, error rate and p95 per app version. Errors only on the newest version point at the deploy; errors on every version point elsewhere.

rollback_deployA

Should we roll back? Records a rollback to an earlier, already-deployed version. Use ONLY when errors started with a deploy and appear only on the new version. Never for a slow database or payment-provider problems: rolling back will not fix those. Ask the person and get a yes before calling this.

Prompts

Interactive templates invoked by user choice

NameDescription
investigateStep-by-step incident investigation using the ops tools.
incident_reportA short incident report for the last N minutes.

Resources

Contextual data attached and managed by the client

NameDescription
sloThe service level objectives the overview checks against.
runbookKnown incident patterns and what to do about each.
statusOne-line service status for the last 5 minutes.

TDQS

A3.7/5.0

Scored across 8 tools

Disambiguation5/5

Each tool has a narrow, clearly stated purpose, and the descriptions actively cross-reference each other to prevent misselection (e.g. recent_deploys says a deploy is a suspect, not proof, and points to errors_by_version). The error-related tools (error_breakdown, compare_windows, errors_by_version) overlap in topic but are cleanly separated by dimension: by route/status, by time-window delta, and by app version. rollback_deploy is unambiguously the only mutating tool and carries explicit guardrails.

Naming Consistency4/5

Names are uniformly snake_case and human-readable, but the convention is mixed: some are verb_noun imperatives (search_logs, compare_windows, rollback_deploy) while others are noun phrases (service_overview, error_breakdown, latency_trend, recent_deploys). The pattern is still predictable enough that an agent can infer what each tool returns, but it isn't a single consistent verb_noun scheme.

Tool Count5/5

Eight tools is well-scoped for an incident-triage server: a funnel from health overview to deploys to errors to logs to drift to per-version attribution, plus exactly one remediation action. No tool looks redundant or like filler, and the set stays small enough to reason about under pressure.

Completeness4/5

The investigation path is complete end to end (orient, correlate with deploys, localize errors, read logs, detect drift, attribute by version, act) with no dead ends for the stated workflows. Minor gaps remain: no way to inspect what a deploy actually changed (commits/diff), no dependency-level health signal for the database or payment provider explicitly called out in the rollback guardrail, and no log search scoped by version or instance.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues