Skip to main content
Glama

Calcular precio

get_price
Read-only

Calcula el precio total de una estadía y la seña requerida.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guestsYes
guidesNo
check_inYesYYYY-MM-DD
check_outYesYYYY-MM-DD
room_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true. The description adds that it calculates a deposit ('seña'), which is an extra behavioral detail beyond the schema, but does not disclose error handling, permissions, or side effects. It is consistent with readOnlyHint.

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 a single sentence that efficiently conveys the tool's function with no filler. It is front-loaded with the action and result.

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?

With 5 parameters, no output schema, and several sibling tools, this minimal description is insufficient. It does not explain return values (e.g., currency, format), error conditions, or relation to tools like check_availability or list_room_types.

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?

Schema description coverage is only 40% (check_in and check_out have descriptions). The tool description does not mention any parameters, leaving three parameters (guests, guides, room_type) undocumented. The description adds no semantic value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool calculates total price and required deposit for a stay, using specific verb 'calcula' and resource 'precio' and 'seña'. It distinguishes well from sibling tools like check_availability.

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 no guidance on when or when not to use this tool, nor does it mention alternatives. There is no context about prerequisites or preferred scenarios.

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