Skip to main content
Glama

Opsphere — DevOps & SRE Intelligence

Railway env diff

railway_env_diff
Read-only

Compare variable names between two environments (no values). Optional service scope uses the same auto-select or per-service aggregation as railway_env_list. Gaps are prefixed source: or target:.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>",
      "source_environment": "<source_environment>",
      "target_environment": "<target_environment>"
    },
    "name": "railway_env_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
projectYes
serviceNo
context_idNoOptional explicit Connection Hub work context (ctx_*). Omit to use the conversation's active workspace; global Hub tools ignore it.
source_environmentYes
target_environmentYes

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes
contractVersionYes
dataSchemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly/non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: only names are compared, values are never returned, and gaps are tagged source: or target: so results are attributable. It does not mention permissions or any limits on environment size, but the essential semantics are disclosed.

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 core purpose and the names-only constraint. Nothing is padded, though the trailing note about source:/target: prefixes overlaps with what the output schema can convey.

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 an output schema present, return-value explanation is unnecessary, and annotations cover safety, so the description is nearly complete for a read-only comparison tool. The remaining hole is the undocumented `query` parameter and the absence of any note on what happens when a referenced environment or service does not exist.

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% (just context_id), so the description has to carry weight. It does clarify the semantics of `service` (auto-select or per-service aggregation, by reference to railway_env_list) and implies that source_environment and target_environment are the two sides of the comparison, but `query` and `project` are left entirely unexplained in both schema and description.

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?

"Compare variable names between two environments (no values)" gives a specific verb, resource, and scope, and the parenthetical immediately rules out the most likely misreading (that secret values are returned). It is clearly distinct from railway_env_list and railway_environments_list, which enumerate rather than compare.

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?

Usage is implied rather than stated: the reader infers this is the tool for spotting drift between a source and target environment. The reference to railway_env_list explains how the optional service scope behaves (auto-select vs per-service aggregation), which is helpful routing context, but there is no explicit when-to-use/when-not or naming of vercel_env_diff for non-Railway targets.

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