Skip to main content
Glama

Ocupação e previsão

get_occupancy_report
Read-onlyIdempotent

Série diária de ocupação (reservas e bloqueios) a partir de uma data, com sinais externos do Airbnb e cobertura/atualidade por habitação. Valores futuros são projeção, não receita realizada.

Escopo: reports:read · Risco: read · Efeitos: Nenhum.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_occupancy_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
start_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and non-destructive, and the description's 'Escopo/Risco/Efeitos' line merely restates them. It does add genuinely useful context beyond the annotations: future values are projections rather than realized revenue, and results include external Airbnb signals plus per-property coverage/freshness. No detail on pagination, volume or response format.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core content is front-loaded in a single dense sentence, followed by a useful caveat. The trailing scope/risk/effects line duplicates annotation data rather than earning its place, which keeps it from a 5.

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 no output schema, the description does well to sketch what comes back: a daily series of reservations and blocks, external Airbnb signals, and coverage/freshness per property. The missing pieces are the parameter horizon/format details, which an agent would need to call it confidently.

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 0%, so the description must carry both parameters. 'A partir de uma data' effectively explains start_date, and 'série diária' implies a day count, but the days horizon, its default of 30 and 120-day ceiling, and the YYYY-MM-DD format are left undocumented.

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?

States a specific resource and shape: a daily occupancy series covering reservations and blocks, enriched with Airbnb signals and per-property coverage/freshness. That distinguishes it reasonably from get_stays_report, get_performance_report and get_availability, though it never names a sibling to sharpen the contrast.

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?

'A partir de uma data' implies the tool is used when you need a forward-looking occupancy view from a given start date, and the projection caveat hints at the forecast use case. But there is no explicit when-to-use/when-not guidance and no mention of how it differs from get_availability or get_stays_report.

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.