Skip to main content
Glama

Raja stations

rj_stations
Read-onlyIdempotent

Look up Raja railway station codes by Persian or English name, then use the returned code as origin or destination when searching trains; omit the query to list major stations.

Instructions

Find Raja railway stations and their codes by Persian or English name.

Use the returned code (or the name) as origin or destination in rj_search_trains. With no query it lists only the major stations (the site's "main stations" group); pass a query to search all of them.

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

Input Schema

NameRequiredDescriptionDefault
queryNoPart of a station name in Persian or English, or a code. Empty lists the major stations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds the meaningful scoping detail that an empty query returns only the site's 'main stations' group, but that same fact also appears in the schema, and nothing is said about result size or pagination.

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 short sentences, zero waste, with the core purpose front-loaded and the workflow hint immediately after. Nothing is repeated needlessly.

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?

For a one-parameter, read-only lookup tool with no output schema and full annotation coverage, the description supplies everything needed: what it returns (stations and codes), how to use the result, and the no-query default.

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 100% and the single parameter already documents Persian/English name or code input plus empty-query behavior. The description reinforces that a query searches all stations, but adds no syntax, matching rules, or format detail beyond the schema, so the baseline 3 applies.

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: finding Raja railway stations and their codes, searchable by Persian or English name. The second sentence ties the tool to its downstream consumer, rj_search_trains, so an agent can place it in a workflow without opening the 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 clear usage context: fetch a station code here, then use it as origin/destination in rj_search_trains. It also explains the two modes (no query = major stations only; query = search all). No explicit exclusions or negative cases are given, which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.