Skip to main content
Glama

Revenue insights: pace, lead time, channels and forecast

get_revenue_insights
Read-only

For the homes the key can read (or one with propertyId): pace = the nights and income booked for each of the next 12 months against what was booked on the same date a year ago (and where that month finally closed); leadTime = average and median days between booking and arrival, overall, by month of arrival and by channel; channels = nights, income, commission, share and nightly rate per channel (Airbnb, Booking.com, Vrbo, direct, leases, other) for year; forecast = where each month is likely to close (nights and income, with a low–high range), or issue saying why not (history = fewer than three completed months, too_far, no_bookings). excluded counts the short stays whose booking date is not the booking (typed in after arrival, bulk imports) and are left out of pace, lead time and forecast. Nights are real nights, per room on a home let by rooms. Requires the reports feature.

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": {
      "year": "<year>"
    },
    "name": "get_revenue_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesYear of the channel split and the lead time, e.g. 2026
propertyIdNoOnly this home

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description goes well beyond that by disclosing the `excluded` bucket (short stays whose booking date was typed in after arrival or bulk-imported, omitted from pace, lead time and forecast) and the `forecast` failure codes (history = fewer than three completed months, too_far, no_bookings). It also clarifies the counting unit ('Nights are real nights, per room on a home let by rooms'), which prevents a real misinterpretation. It stops short of describing payload shape or volume, so it is not a 5.

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?

Essentially every sentence carries information: metric definitions, the exclusion rule, the unit convention and the prerequisite. It is front-loaded with scope before the metric breakdown. The trade-off is a single dense paragraph of semicolon-separated clauses keyed by backticked names, which is harder to scan than a short list would be.

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 carries the return-value burden and does it well by defining each top-level key and its edge cases. The prerequisite (reports feature) and the forecast failure modes are covered. Remaining gaps are minor: it never states whether all four metrics are always returned together or how large the 12-month/month/channel payloads get.

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 both parameters are already documented and the baseline is 3. The description reinforces `propertyId` as a single-home scope and ties `year` to the channel split, but it mostly repeats what the schema says rather than adding syntax, defaults or validation detail.

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 names a specific resource and enumerates exactly what the tool returns through four labelled metrics (`pace`, `leadTime`, `channels`, `forecast`) plus `excluded`, so an agent knows precisely what comes back. The opening scoping clause ('For the homes the key can read (or one with `propertyId`)') further pins down the operating scope. It does not distinguish itself from lookalike siblings such as get_income_summary, which keeps it off a 5.

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?

Usage is only implied: the description tells you the tool reports revenue metrics for a year and a property scope, and adds a real prerequisite ('Requires the reports feature'). There is no explicit when-to-use versus when-not guidance and no named alternative for a simpler income figure, so the agent must infer selection from sibling names alone.

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.