get_prices

Get price information for domestic train journeys, including different travel classes, ticket types, and discounts. Returns detailed pricing information with conditions and validity.

Server NS Travel Information Server kallivdh/ns-mcp-server
Category Read
Risk class Low
Parameters 00 required

What get_prices does on NS Travel Information Server

AI agents call get_prices to retrieve information from NS Travel Information Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why get_prices needs a policy

This tool retrieves and queries pricing data for train journeys without creating transactions, bookings, or financial obligations. It has no side effects beyond returning information to the user. While pricing data could theoretically inform financial decisions, the tool itself does not move money, execute purchases, or commit any financial obligation.

From the tool's definition Tool name 'get_prices' and description 'Get price information' indicates a retrieval operation. The description specifies it 'Returns detailed pricing information' with no mention of modifying, creating, or charging for tickets—only querying public fare data.

Questions about get_prices

What does the get_prices tool do? +

Get price information for domestic train journeys, including different travel classes, ticket types, and discounts. Returns detailed pricing information with conditions and validity. It is categorised as a Read tool in the NS Travel Information Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on get_prices? +

Register the NS Travel Information Server MCP server in PolicyLayer and add a rule for get_prices: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches NS Travel Information Server. Nothing to install.

What risk level is get_prices? +

get_prices is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_prices? +

Yes. Add a rate_limit block to the get_prices rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_prices completely? +

Set action: deny in the PolicyLayer policy for get_prices. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_prices? +

get_prices is provided by the NS Travel Information Server MCP server (kallivdh/ns-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.