filter_hotels_by_rating

Filter hotels from a search by minimum rating.

Server MCP Travel Planner leonavevor/mcp_travelassistant
Category Read
Risk class Low
Parameters 00 required

What filter_hotels_by_rating does on MCP Travel Planner

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

Why filter_hotels_by_rating needs a policy

This tool retrieves and filters existing hotel search results based on a rating threshold. It has no side effects—it does not create, modify, delete, or execute code. The operation is purely a read-only query of hotel data, comparable to search or filter operations on travel data. The blast radius of misuse is minimal, as the worst outcome is returning filtered hotel listings that don't match user preferences.

From the tool's definition Tool name and description indicate a filtering/querying operation: 'Filter hotels from a search by minimum rating.' This retrieves or searches hotel data based on criteria without modifying, deleting, or executing external operations.

Questions about filter_hotels_by_rating

What does the filter_hotels_by_rating tool do? +

Filter hotels from a search by minimum rating. It is categorised as a Read tool in the MCP Travel Planner MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on filter_hotels_by_rating? +

Register the MCP Travel Planner MCP server in PolicyLayer and add a rule for filter_hotels_by_rating: 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 MCP Travel Planner. Nothing to install.

What risk level is filter_hotels_by_rating? +

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

Can I rate-limit filter_hotels_by_rating? +

Yes. Add a rate_limit block to the filter_hotels_by_rating 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 filter_hotels_by_rating completely? +

Set action: deny in the PolicyLayer policy for filter_hotels_by_rating. 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 filter_hotels_by_rating? +

filter_hotels_by_rating is provided by the MCP Travel Planner MCP server (leonavevor/mcp_travelassistant). 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.