Skip to main content
Glama

Find shared work hours

get_overlap_hours
Read-onlyIdempotent

Returns shared business-hours overlap for structured locations and an optional date. date accepts ISO YYYY-MM-DD or a simple human day/date value such as "Thursday", "tomorrow", or "next Friday", resolved relative to the first location timezone.

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": {
      "locations": "<locations>"
    },
    "name": "get_overlap_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOptional date used to compute overlap. Accepts ISO YYYY-MM-DD or simple human values such as "Thursday", "tomorrow", or "next Friday".
locationsYes
_endUserIdNoOptional opaque per-call end-user attribution token populated by the MCP host, not the LLM. Accepts a non-PII hash or token, excluding raw email addresses, names, or platform user IDs.
countryCodesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive behavior, and closed-world scope, so the safety profile is covered. The description adds useful behavioral detail about date resolution relative to the first location timezone, but it does not define what counts as business hours or describe the return format.

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?

The description is two sentences, front-loaded with the core purpose, and every sentence adds useful information. There is no redundant or filler text.

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 read-only tool with annotations and no output schema, the description covers purpose and date parsing but leaves important gaps: the return shape of the overlap, the definition of business hours, and how locations should be structured. It is adequate but not fully complete.

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 50%, and the schema itself documents the parameters. The description adds a meaningful nuance for date: human date values are resolved relative to the first location timezone. However, it does not clarify countryCodes or _endUserId, and 'structured locations' remains vague.

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 states a specific verb and resource: it returns shared business-hours overlap for structured locations and an optional date. It is clear what the tool does, but it does not explicitly distinguish itself from nearby siblings such as find_meeting_time or find_host_slots.

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?

The description gives no explicit guidance on when to use this tool versus alternatives, nor does it state prerequisites or exclusions. Usage is only implied by the phrase 'shared business-hours overlap'.

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.