Skip to main content
Glama

find_free_time

Read-only

Return free slots (default 30 min) in a date range [from,to], given the events + meetings of everyone involved. One person by default (user_id, or the caller). Pass user_ids to get the slots that suit ALL of them — busy is anything that is busy for anyone, which is what a two-way booking needs. Optional duration_min, agent_id (that agent's calendar instead of a person's). What this CANNOT do: read the calendar of an outside prospect — nobody has access to it. Slots proposed to a prospect are proposals, not commitments; the prospect confirms one, and only then is it booked.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "find_free_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesEnd of the search range (ISO date-time)
fromYesStart of the search range (ISO date-time)
user_idNoID of the user
agent_idNoID of the agent
user_idsNoTwo or more people who all have to be free
duration_minNoSlot length in minutes (default 30)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"ID of the agent"
    • addedInput schema / properties / duration_min / description
      Added value: +"Slot length in minutes (default 30)"
    • addedInput schema / properties / from / description
      Added value: +"Start of the search range (ISO date-time)"
    • addedInput schema / properties / to / description
      Added value: +"End of the search range (ISO date-time)"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint=true the description discloses the crucial aggregation rule (busy is anything busy for anyone, which is what a two-way booking needs), the ownership of the calendars being read, and the consequence that returned slots are proposals awaiting prospect confirmation. The limitation about outside prospects is exactly the kind of failure mode an agent would otherwise have to discover by trial.

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?

It is front-loaded with the core behavior and the constraints come in a distinct labeled clause ("What this CANNOT do"), which aids scanning. It runs long for a tool description and the prospect/proposal sentence could be tightened, but no sentence is filler.

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

Completeness5/5

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

For a six-parameter read tool with no output schema, the description covers defaults, both single- and multi-person modes, the agent calendar alternative, and the business caveat around proposals. An agent has everything needed to call it correctly and to interpret the result's weight.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning the schema cannot: that user_ids is an AND-of-availability rather than a union, and that agent_id substitutes an agent calendar for a person's. duration_min's default is only restated from the schema, so it is not fully above baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ("Return free slots ... in a date range [from,to]") and immediately defines the input dependency (events + meetings of everyone involved) and the unit (default 30 min). An agent can tell this is a calendar availability computation rather than an event lookup or a booking action.

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 states the default mode (one person via user_id or the caller), the escalation path (pass user_ids for the slots that suit ALL of them), and the agent_id variant. It also gives a clear exclusion: it cannot read an outside prospect's calendar, and proposed slots are not commitments. It stops short of naming a sibling tool for booking or for bot availability, so routing is implied rather than explicit.

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.