Skip to main content
Glama

When I Work MCP by usefulapi

List schedules (locations)

wheniwork_list_locations
Read-only

List the schedules in the account. The API calls a schedule a "location"; its id is the location_id every shift belongs to. When I Work: GET /2/locations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
only_unconfirmedNoOnly schedules whose address is unconfirmed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already declares this is a safe read, and the description is consistent with that. It adds genuinely useful context by explaining that a location's id is the location_id every shift belongs to, but says nothing about return size, pagination, or ordering.

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?

Three short sentences, front-loaded with the action and immediately followed by the terminology clarification an agent needs. Every sentence earns its place with no 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?

For a simple one-parameter read tool with an existing readOnlyHint annotation and no output schema, the definition covers what the tool is and what its ids mean. Only pagination/return-shape detail is absent, which is minor at this complexity.

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%, so the single optional parameter (only_unconfirmed) is already fully documented in the schema, establishing a baseline of 3. The description does not reference the filter, adding no parameter-level meaning beyond the schema.

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 gives a specific verb (List) and resource (schedules/locations) and resolves a real terminology trap by stating the API calls a schedule a 'location'. It does not explicitly differentiate itself from siblings such as wheniwork_list_shifts or wheniwork_list_positions, so it stops short of a 5.

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 'List the schedules in the account', which tells the agent this is the account-wide enumeration call. There is no explicit when-to-use versus when-not-to-use guidance, and no mention of alternatives like wheniwork_list_shifts for shift data.

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.