Skip to main content
Glama

getStaysByCountry

Read-only

Returns stays from the NomadStays database. Search by 2-letter country code (e.g., 'MA', 'US') or country name (e.g., 'Antigua' matches 'Antigua and Barbuda')

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return (default: 15)
countrycodeYes2-letter country code (e.g., 'MA', 'US') or partial country name (e.g., 'Antigua')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / countrycode / description
      Previous value: -"2-letter ISO country code (e.g. 'ES', 'PT') OR partial country name"New value: +"2-letter country code (e.g., 'MA', 'US') or partial country name (e.g., 'Antigua')"
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of stays to return (default: 15)"New value: +"Maximum number of results to return (default: 15)"
    • addedInput schema / required
      Added value: +[
      +  "countrycode"
      +]
  2. First observed

TDQS

B3.4/5.0
Behavior3/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 that results come from the NomadStays database and that name matching is partial ('Antigua' matches 'Antigua and Barbuda'), which is mildly useful behavioral context, but nothing about result ordering or pagination.

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 sentences, front-loaded with the core action and followed by the input format. No filler, though the parenthetical examples duplicate the schema descriptions.

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?

For a simple two-parameter read-only lookup with no output schema, the description covers what is needed to invoke it, but omits return-shape expectations, result ordering, and whether results are paginated beyond the limit parameter.

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 coverage is 100%, so both parameters (countrycode, limit) are already documented in the schema, including the default of 15 and the partial-name example. The description's examples restate what the schema provides, so baseline 3 is appropriate.

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 verb+resource ('Returns stays from the NomadStays database') and the scoping criterion (country code or name). It is clearly distinguishable from siblings like getStaysByContinent or getStaysByAmenities, though the description never explicitly names the alternative facets.

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 implied by the description's emphasis on searching by country, but there is no explicit when-to-use guidance, no mention of when to prefer getStaysByLocation/getStaysByContinent, and no stated prerequisites.

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.