Skip to main content
Glama
giata-drive-mcp

giata-drive-mcp

by ecakmak91

Get updated hotels

get_updated_hotels
Read-onlyIdempotent

Lists hotels changed or deleted after a revision number to sync hotel data incrementally. Start at afterRevision=0, store latestRevision, then pass it to get only later changes.

Instructions

Incremental sync: list hotels changed or deleted after a given revision number. Start with afterRevision=0 to get the current latestRevision, store it, and pass it next time to get only changes.

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": {
      "afterRevision": "<afterRevision>"
    },
    "name": "get_updated_hotels"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return (1-1000, default 200).
offsetNoNumber of items to skip (pagination).
countryCodeNoISO 3166-1 alpha-2 country code, e.g. "TR", "DE", "ES".
afterRevisionYesRevision returned as latestRevision by a previous call (0 = from the beginning).

Output Schema

NameRequiredDescriptionDefault
limitYes
offsetYes
nextOffsetNo
countryCodeNo
deletedTotalYes
updatedTotalYes
afterRevisionYes
latestRevisionNoStore this and pass it as `afterRevision` next time.
deletedGiataIdsYes
updatedGiataIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: deleted hotels are included in the feed, and the response carries a latestRevision token to be reused. It does not explain how limit/offset paging interacts with the revision cursor or whether countryCode scopes the revision stream, which matters for a sync tool.

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 tight sentences with the mode ("Incremental sync") front-loaded and the follow-up call sequence following immediately. No filler or redundant restatement of the title.

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 an output schema available and annotations covering the safety profile, the description covers what an agent needs to call it correctly. The remaining gap is the interaction between paging and the revision cursor, which is the one thing a sync consumer must get right and is left unaddressed.

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 all four parameters are already documented, and the description's afterRevision explanation largely restates the schema's "Revision returned as latestRevision by a previous call" note. It adds the store-and-replay workflow but says nothing about limit, offset, or countryCode semantics, so baseline 3 applies.

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 uses a specific verb and resource plus a clear scope: "list hotels changed or deleted after a given revision number," and the "Incremental sync" label separates it in spirit from a full listing. It never names the full-listing sibling (list_hotels) as the alternative, so the differentiation is implied rather than explicit.

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 procedural guidance: call with afterRevision=0 first, capture latestRevision, persist it, and pass it on subsequent calls. That is a clear usage pattern, but there are no exclusions or explicit pointers to when a plain list/search is preferable (e.g., first-time full inventory vs steady-state sync).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.