Skip to main content
Glama

analyze_booking_threat_risk

Read-only

Analyze a vacation rental booking or guest interaction for potential threats and risks. Returns risk assessment level, identified concerns, and recommended actions for the host. Pass booking_id, message_content, and/or guest_profile for analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
booking_idNoBooking UUID to analyze
guest_profileNoGuest profile data
message_contentNoMessage text to analyze

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, covering the safety profile. The description adds useful output information (risk level, concerns, recommended actions) and input flexibility, but does not disclose potential limitations, such as whether at least one input is required or whether the analysis is purely deterministic. This is acceptable given annotation coverage, but not rich.

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?

The description is two sentences long and front-loaded with the core purpose and return value. The second sentence lists input options in a compact, readable way. Every word contributes meaning; there is no fluff or repetition.

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?

With 3 optional parameters, no output schema, and no required params, the description does a solid job of explaining the return values and accepted inputs. It covers what the tool does and what it produces. The main gap is the lack of differentiation from the many similar risk-analysis siblings, which could confuse an agent selecting among them. Otherwise, it is reasonably complete for a read-only analysis tool.

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?

The input schema already provides descriptions for all three parameters (100% coverage), so the baseline is 3. The description's phrase 'and/or' clarifies that parameters can be combined, which adds a small amount of relational semantics beyond the schema. However, it does not explain any parameter interdependencies or format expectations beyond what the schema already specifies.

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 clearly states the action ('Analyze'), the resource ('vacation rental booking or guest interaction'), and the purpose ('potential threats and risks'). It also mentions the outputs (risk level, concerns, recommended actions). However, it does not distinguish this tool from closely related siblings like analyze_guest_communication_risk, analyze_guest_interaction_risk, and detect_guest_message_threat_pattern, so it lacks explicit sibling differentiation.

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 gives no guidance on when to use this tool versus the many alternative risk-analysis tools in the sibling list. The instruction to 'Pass booking_id, message_content, and/or guest_profile' explains what to provide, but does not specify selection criteria or exclusions. Usage context is only implied, not articulated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources