Skip to main content
Glama

Get opening hours

get_hours
Read-only

Opening hours for one venue, from the Dim Hour catalog. Every answer carries as_of and never claims to be live — hours are catalog data, not a live feed, and the receipt says how old they are. Measured 2026-09-16, 82% of venues carry hours; when a venue has none this ABSTAINS and says so rather than guessing. The evidence block separately names each field source and read date; null means unknown. The city-file receipt is not the hours verification date. Confirm with the venue before relying on it.

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": {
      "city": "<city>"
    },
    "name": "get_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoVenue id from search_venues
cityYesCity name or key
nameNoVenue name (used if id not given)

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
cityYes
nameYes
hoursYes
receiptYes
warningYes
evidenceYes
evidence_noteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / evidence / properties / reserveUrl
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/properties/evidence/properties/hours/anyOf/0"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / evidence / required
      Previous value: -[
      -  "hours",
      -  "address",
      -  "phone"
      -]New value: +[
      +  "hours",
      +  "address",
      +  "phone",
      +  "reserveUrl"
      +]
  2. Changed3 schema fields changed
    • addedOutput schema / properties / evidence
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "address": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/properties/evidence/properties/hours/anyOf/0"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "hours": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "address_bound": {
      +              "enum": [
      +                "at_read",
      +                "at_first_snapshot"
      +              ],
      +              "type": "string"
      +            },
      +            "address_hash": {
      +              "type": "string"
      +            },
      +            "checked_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "freshness": {
      +              "enum": [
      +                "fresh",
      +                "stale",
      +                "value_changed",
      +                "address_changed",
      +                "unknown",
      +                "invalid_future_date"
      +              ],
      +              "type": "string"
      +            },
      +            "receipt": {
      +              "type": "string"
      +            },
      +            "source_url": {
      +              "type": "string"
      +            },
      +            "stale_after": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "value_hash": {
      +              "type": "string"
      +            },
      +            "verdict": {
      +              "enum": [
      +                "match",
      +                "applied_diff"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "source_url",
      +            "checked_at",
      +            "stale_after",
      +            "verdict",
      +            "receipt",
      +            "value_hash",
      +            "address_hash",
      +            "address_bound",
      +            "freshness"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "phone": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/properties/evidence/properties/hours/anyOf/0"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "hours",
      +    "address",
      +    "phone"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / evidence_note
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "city",
      -  "id",
      -  "name",
      -  "hours",
      -  "warning",
      -  "url",
      -  "receipt"
      -]New value: +[
      +  "city",
      +  "id",
      +  "name",
      +  "hours",
      +  "warning",
      +  "evidence",
      +  "evidence_note",
      +  "url",
      +  "receipt"
      +]
  3. Changed3 schema fields changed
    • addedOutput schema / properties / receipt / properties / age_days
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / properties / receipt / properties / stale
      Removed value: -{
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / receipt / required
      Previous value: -[
      -  "as_of",
      -  "as_of_scope",
      -  "source",
      -  "abstained",
      -  "stale",
      -  "reason"
      -]New value: +[
      +  "as_of",
      +  "as_of_scope",
      +  "source",
      +  "abstained",
      +  "age_days",
      +  "reason"
      +]
  4. Changed1 schema field changed
    • addedOutput schema / properties / receipt / properties / scope_note
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  5. Changed2 schema fields changed
    • addedOutput schema / properties / warning
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "city",
      -  "id",
      -  "name",
      -  "hours",
      -  "url",
      -  "receipt"
      -]New value: +[
      +  "city",
      +  "id",
      +  "name",
      +  "hours",
      +  "warning",
      +  "url",
      +  "receipt"
      +]
  6. Added

TDQS

A3.9/5.0
Behavior5/5

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

Goes far beyond the readOnlyHint annotation: declares data is catalog-sourced, not live, always carries an as_of receipt, abstains rather than guessing when hours are missing, treats null as unknown, and warns that the city-file receipt is not the hours verification date. It even quantifies coverage (82% of venues) and advises confirming with the venue.

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?

Purpose is front-loaded in the first clause, and the remaining sentences earn their place with receipts, abstention behavior, and null semantics. It is dense and slightly scattered (the 82% statistic and city-file caveat interrupt the flow), but nothing is filler.

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 present, the description needn't explain return values, and it covers staleness, abstention, and null semantics thoroughly. The remaining gap is selection guidance against the menu/venue siblings, which the description never addresses.

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%, including the id-vs-name precedence rule, so baseline 3 applies. The description adds no parameter-level meaning about city, name, or id beyond what the schema already documents.

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 concrete verb+resource: opening hours for a single venue, sourced from the 'Dim Hour catalog'. It is distinguishable from siblings like get_venue or get_venue_menus, but it never names an alternative or clarifies how it relates to them.

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?

Implied usage only: the reader infers this is the tool for hours lookups, and 'when a venue has none this ABSTAINS' tells them what happens on a miss. There is no explicit when/when-not guidance or pointer to search_venues for obtaining an id (that hint lives only in the schema).

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