Skip to main content
Glama

Best nights to book

best_nights
Read-onlyIdempotent

The cheapest checked nights for a Miami hotel in a date range, with what is on those nights. Defaults to the next four months.

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": "best_nights"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds one genuinely new behavioral fact — the default range is the next four months — plus the fact that results pair nights with events, but says nothing about result ordering, completeness, or whether prices are live or cached.

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?

Two short clauses with no filler, and the core subject (cheapest nights for a Miami hotel in a date range) is front-loaded. Slightly compressed to the point of ambiguity in 'checked nights', which costs it a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three undocumented parameters, no output schema, and a location implicitly fixed to Miami, the description should say more about date format, the limit parameter, and what a returned night looks like. It does convey the default window and the pairing of nights with events, which is enough to attempt a call, but gaps remain.

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

Parameters2/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 the parameter burden and largely does not. It implies a date range but never states the expected date format, never mentions that only the start of the range is defaulted, and never explains the limit parameter or its 1-10 bound.

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 (cheapest nights for a Miami hotel) and adds a second dimension (what is on those nights), which lets an agent distinguish it from a plain price tool like hotel_prices or an events tool like whats_on. It falls short of 5 because 'checked nights' is unexplained jargon and no sibling is named as an explicit alternative.

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?

There is no when-to-use or when-not-to-use guidance, and no alternative is named despite siblings such as hotel_prices and whats_on overlapping heavily. The only usage-adjacent information is the default window, which tells the agent what happens when it omits dates but not when this tool is the right choice.

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