Skip to main content
Glama

Opsphere — DevOps & SRE Intelligence

Railway errors recent

railway_errors_recent
Read-only

Grouped summary of recent error (and optional warn) logs. Requires project+environment. Not root-cause analysis.

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": "railway_errors_recent"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
sinceNo
projectNo
serviceNo
context_idNoOptional explicit Connection Hub work context (ctx_*). Omit to use the conversation's active workspace; global Hub tools ignore it.
environmentNo
include_warningsNo

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes
contractVersionYes
dataSchemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare this a safe, non-destructive, closed-world read, so the description only needs to add context. It does disclose that output is grouped/aggregated rather than raw lines and that warnings are opt-in, which is useful. It says nothing about result caps from limit (max 100), the time-window behavior of since, or how groups are keyed.

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?

Three short sentences, front-loading what the tool returns before the prerequisite and the exclusion. Nothing is redundant or padded.

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?

An output schema exists, so return values need no explanation, but the description leaves the low-coverage parameters (limit, since, service) unexplained and ambiguous about whether project/environment are truly required. For a 7-parameter log tool with no enums, that is a meaningful gap.

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?

With only 14% schema description coverage, the description must carry most parameter meaning, and it only covers project, environment, and implicitly include_warnings. limit, since, and service get no guidance on accepted formats despite since being free-form text. Note that 'Requires project+environment' conflicts with the schema declaring zero required parameters.

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?

States a specific verb and resource: a grouped summary of recent error logs, with an optional warn-log inclusion. It is clearly narrower than railway_logs or railway_incident_diagnosis, though it never names the sibling it defers to.

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?

'Requires project+environment' sets a prerequisite, and 'Not root-cause analysis' rules out a use case that would otherwise pull the agent toward this tool. It stops short of naming the correct alternative (e.g. railway_incident_diagnosis) for deeper diagnosis.

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