Skip to main content
Glama

detect_guest_message_threat_pattern

Read-only

Analyze a guest message or conversation for concerning patterns that may indicate risks to the vacation rental host. Pass the message text and optional conversation_history for context. Returns threat assessment and recommended response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesMessage text to analyze
booking_idNoBooking UUID for context
conversation_historyNoPrevious messages for context

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/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 safety. The description adds that it returns a threat assessment and recommended response, which is useful. However, it does not disclose additional behavioral traits such as AI model usage, confidence levels, or any limitations.

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, front-loaded with the tool's purpose, followed by usage instruction and return value. Every sentence adds value, with 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?

For a tool with three parameters and no output schema, the description covers the main purpose, how to pass inputs, and the return format at a high level. It would benefit from noting the optional booking_id and perhaps differentiating from sibling tools, but overall it is sufficient for a tool of this simplicity.

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%, so the baseline is 3. The description mentions message text and conversation_history for context, which aligns with the schema but adds no extra meaning beyond what the schema already provides. The booking_id parameter is not mentioned in the description, but it is described in the schema.

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 tool analyzes a guest message or conversation for concerning patterns, which is a specific verb and resource. However, it does not distinguish from closely related sibling tools like detect_guest_communication_risk or analyze_guest_communication_risk, so it lacks 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 Guidelines3/5

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

The description provides clear context for when to use the tool (analyzing guest messages for threat patterns) but gives no explicit guidance on when not to use it or alternatives. It does not mention the many similar risk-analysis sibling tools, leaving the agent to infer which tool is appropriate.

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