Skip to main content
Glama

Opsphere — DevOps & SRE Intelligence

Railway logs

railway_logs
Read-only

Finite historical logs: deployment_id for build/runtime logs, or project+environment for environment logs. limit max 1000. Secrets redacted.

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_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo
levelNo
limitNo
sinceNo
untilNo
filterNoRailway log filter syntax
projectNo
serviceNo
log_typeNo
context_idNoOptional explicit Connection Hub work context (ctx_*). Omit to use the conversation's active workspace; global Hub tools ignore it.
environmentNo
deployment_idNo

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes
contractVersionYes
dataSchemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With readOnlyHint/destructiveHint/openWorldHint already declaring the safety profile, the description adds three useful facts: results are finite rather than a live stream, limit is capped at 1000, and secrets are redacted in output. It omits pagination/cursor behavior and whether an unfiltered call across an environment could be expensive, which matters for a 12-param read tool.

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 short sentences, front-loaded with the scoping rule and with no filler. The telegraphic style ('limit max 1000. Secrets redacted.') is efficient but clipped enough that it reads as notes rather than a coherent instruction.

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?

An output schema exists, so return values need not be described, and the annotations cover safety, which keeps the burden low. The remaining gap is that a 12-parameter tool with zero required parameters gives no hint about sensible defaults or minimum viable calls, so an agent must construct calls largely from the schema alone.

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 description coverage is only 17%, so the description must carry weight, and it does explain the single most important semantic the schema cannot express: deployment_id yields build/runtime logs while project+environment yields environment logs. However, it says nothing about text, level, service, since/until, or the filter syntax, leaving most of the 12 parameters unexplained in both places.

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?

The description names a specific resource (historical logs) and its scoping modes, and 'finite' plus the deployment_id vs project+environment split make the tool's domain clear. It stops short of naming the siblings it overlaps with (railway_errors_recent, railway_incident_diagnosis), so an agent still has to infer the boundary.

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?

It gives concrete routing advice between parameter sets: use deployment_id for build/runtime logs, or project+environment for environment logs. That is real usage guidance for invocation, but there is nothing about when to prefer this tool over railway_errors_recent or railway_incident_diagnosis, and no exclusions.

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