Skip to main content
Glama

Work shifts

get_shifts
Read-only

Work shifts in a date range with job, start and end time and, if allowed, the money each shift earned.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_shifts"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD, at most 92 days after from. Default: a week from "from"
fromNoFirst day, YYYY-MM-DD. Default: today

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The readOnly/destructive annotations already establish safety, and the description adds one genuinely useful behavioral note: earnings amounts are conditional on permission ("if allowed"). It says nothing about ordering, pagination, or what happens when the range exceeds limits (that cap lives in the schema, not the description).

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?

A single front-loaded sentence with no wasted preamble, though the mid-sentence qualifier "and, if allowed," makes the field list slightly tangled.

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 two-parameter, read-only list tool with no output schema, the description conveys what comes back (job, times, earnings) and the range-based scoping well enough to call it correctly. Missing only return ordering/pagination, 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 both from/to defaults and the 92-day cap are already documented; the description repeats the date-range concept without adding format or semantics. Baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific resource (work shifts) and a scope (a date range), and lists the returned fields (job, start/end time, earnings). The operation verb is only implied by "Work shifts," and nothing distinguishes it from siblings such as get_earnings or get_day, so it is clear but not sibling-differentiated.

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?

There is no explicit when-to-use guidance and no named alternative; the agent must infer from the name whether get_earnings or get_day is the better pick. Only the implicit "date range" framing hints at usage.

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