Skip to main content
Glama

Data_set_api_v1_fares_dataset

Retrieve bus fare datasets filtered by operator, status, or geographic bounding box. Access fare information for specific areas or operators.

Instructions

Returns all fares datasets

Parameters: noc: Operators can operate using a single National Operator Code (NOC) or have multiple NOCs associated. Download the data catalogue to see the relationship between operators and NOCs within the service. To limit results to operators associated with multiple NOCs, input a comma separated list of the relevant NOCs. status: Limit results to data sets with the specified status string, accepted values are published, inactive. boundingBox: Limit results to fares data sets that contain information for the area within the rectangular boundingBox you set using co-ordinates. [minLatitude, maxLatitude, minLongitude, maxLongitude]. The default values shown are for the Liverpool area. limit: The maximum number of records to return. The default value shown is 25. offset: Return results that match the query starting from the specified offset. e.g. If the offset=10 and limit=25, then results from 11 to 35 will be returned The default value shown is 0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kwargsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully convey behavioral traits. While it implies a read operation, it does not explicitly state that it is read-only, safe, or idempotent. It also omits details like rate limits, authentication needs, pagination behavior, or response format beyond the output schema existence. The description is insufficient for transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is moderately concise with a clear one-line purpose followed by parameter descriptions. However, the parameter section is somewhat lengthy and contains formatting issues (e.g., line breaks). The overall structure is acceptable but not optimally front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (five described parameters but only one in schema) and the presence of an output schema, the description should explain the purpose of each parameter and how they are used together. It fails to address the schema mismatch, lacks pagination or result limit behavior, and does not cover edge cases or default values beyond the defaults mentioned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has only a single 'kwargs' string parameter, but the description lists five distinct parameters (noc, status, boundingBox, limit, offset). This mismatch is misleading and contradicts the schema. The description does not clarify how the parameters map to the actual API, leading to confusion and poor guidance.

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 states 'Returns all fares datasets' which is a specific verb and resource, clearly indicating the tool lists all fares datasets. It implicitly distinguishes from sibling 'Data_set_api_v1_fares_dataset_by_datasetID' which presumably returns one dataset. However, it does not explicitly state the distinction, so a perfect 5 is not warranted.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides parameter details but gives no guidance on when to use this tool versus alternatives (e.g., when to use the dataset-by-ID sibling). It does not mention when-not to use or prerequisites. Usage context is only implied by the parameter descriptions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AndrewAubury/openbusdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server