Skip to main content
Glama

List express bus grades

list_express_bus_grades
Read-onlyIdempotent

Retrieve express bus seat grade codes and names to filter departure searches by desired seat grade.

Instructions

List express bus seat grade codes (busGradeId) and names for filtering find_express_bus_departures.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
pageSizeNoMaximum items per page (1-100); defaults to 10

Output Schema

NameRequiredDescriptionDefault
itemsYes
sourceUrlYes
catalogUrlYes
observedAtYes
totalCountYes
sourceServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds that the payload is grade codes plus names, but says nothing about pagination limits or result volume beyond what the schema and output schema already convey.

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?

A single sentence, front-loaded with the resource and output fields, with the downstream use case attached. Nothing is wasted and nothing essential to selection is buried.

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?

For a simple two-parameter read-only list tool with a full input schema, rich annotations, and an output schema, the description covers what the tool is and why an agent would call it. It only lacks explicit guidance on whether results must be paged through to exhaust the list.

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%: both page and pageSize are documented with ranges and defaults in the schema itself. The description contributes no additional parameter meaning, so the baseline of 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 (List) and resource (express bus seat grade codes / busGradeId and names), and even names the sibling tool the output feeds into (find_express_bus_departures). An agent can distinguish this from list_intercity_bus_grades purely from the 'express' scoping in the text.

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?

The description gives clear usage context: call this to obtain busGradeId values used for filtering find_express_bus_departures. It does not state exclusions or explicitly contrast with list_intercity_bus_grades, so it stops short of a full when/when-not guide.

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