Skip to main content
Glama

HoteluriPensiuni.ro

Detaliile unei cazări

detalii_cazare
Read-only

Detaliile unei cazări de pe HoteluriPensiuni.ro: descriere, adresă, facilități, ore de check-in/check-out, reguli, politica de anulare și camerele. Cu „sosire” și „plecare” afli pentru fiecare cameră dacă e liberă și prețul total exact al sejurului.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cazare_id": "<cazare_id>"
    },
    "name": "detalii_cazare"
  }
}

Input Schema

NameRequiredDescriptionDefault
sosireNoData sosirii (AAAA-LL-ZZ)
plecareNoData plecării (AAAA-LL-ZZ)
persoaneNoNumărul de persoane dintr-o cameră.
cazare_idYesId-ul cazării (din cauta_cazari).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine behavior beyond that: the response is date-dependent, with room-level availability and an exact stay total only when arrival/departure are supplied. It says nothing about error behavior or what happens if only one date is given, which is the remaining gap.

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?

Two sentences: the first front-loads what the resource contains, the second explains the optional date behavior. There is no filler, no restatement of the title, and every clause carries information the agent can act on.

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 four-parameter, read-only lookup with no output schema, the definition covers the return surface (field list) and the conditional behavior of the date pair, which is enough to call it correctly. It leaves minor ambiguity about whether the two dates must be supplied together and what is returned when they are omitted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3, but the description earns more by explaining the joint semantics of "sosire" and "plecare" — they are not just dates but the inputs that switch on per-room availability and exact total-price calculation. That meaning is not recoverable from the individual schema field descriptions.

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 names a specific operation (retrieving the details of one accommodation on HoteluriPensiuni.ro) and enumerates exactly what comes back: description, address, facilities, check-in/check-out times, rules, cancellation policy and rooms. That field list makes it unmistakably the detail lookup, distinct from the search (cauta_cazari) and booking-request (cere_rezervare) siblings, without the agent needing to open a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives concrete conditional guidance for the optional date parameters: supplying "sosire" and "plecare" returns per-room availability and the exact total price of the stay, which tells the agent when to pass them. It does not name alternative tools or state when not to use this one, so it stops short of full routing guidance.

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