Skip to main content
Glama

Fix my week when life gets in the way

rearrange_week
Read-onlyIdempotent

Use when a runner's training week went wrong (a missed run, less time, travel, tiredness, illness, a sore spot) and they want the rest of it adjusted. Needs the week's sessions and today's weekday; returns the VERA app's rules for changing a week and the week itself, for you to rearrange it, which check_week then checks with the app's code. Stores nothing.

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": {
      "week": "<week>",
      "what_went_wrong": "<what_went_wrong>",
      "today": "<today>"
    },
    "name": "rearrange_week"
  }
}

Input Schema

NameRequiredDescriptionDefault
weekYesThe sessions of the current week, Monday to Sunday.
todayYesThe weekday the runner is on.
languageNoThe language the runner writes in. Default: guessed from their words.
weeks_to_raceNoWeeks until the next race, when there is one.
what_went_wrongYesWhat happened to the week, in one or two sentences, only as far as it changes the training. No names, diagnoses or medication.
unavailable_daysNoDays left this week with no training possible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "The language the runner writes in. Default: guessed from their words.",
      +  "enum": [
      +    "en",
      +    "de",
      +    "fr",
      +    "it",
      +    "es"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, and the description reinforces this with 'Stores nothing' rather than contradicting it. Crucially it discloses a behavior no annotation captures: the tool does not return a fixed rearranged week but returns the app's rules for changing a week plus the week data, leaving the rearrangement to the caller, and the output is subsequently checked by check_week. That is meaningful process context; it does not, however, describe output shape or limits on how much of the week may be changed.

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?

Three sentences, front-loaded with the usage trigger before the inputs and the return/validation behavior. Every sentence carries content: trigger, required inputs, return value plus the check_week handoff, and the no-storage guarantee. The phrase 'which check_week then checks with the app's code' is slightly convoluted but still informative.

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 six parameters, no output schema and rich annotations, the description covers the essentials: when to invoke, the required inputs, the fact that it returns rules plus week data rather than a finished plan, the check_week follow-up, and statelessness. Because no output schema exists, a brief note on the shape of the returned rules would help, and the dependency on what_went_wrong is left to the schema. Still, an agent can call it correctly and knows what to do with the result.

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 schema already explains week, today, status defaults, bounds and the language/weeks_to_race/unavailable_days options. The description only reiterates that the week's sessions and today's weekday are needed, and notably omits that what_went_wrong is also required. It adds no syntax or formatting guidance beyond what the schema supplies, so the baseline applies.

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 conveys the specific job: adjust the remainder of a training week after a disruption, returning the app's week-editing rules plus the week itself for the agent to rearrange. It distinguishes the tool from check_week by naming that sibling as the downstream validator. The core verb is expressed through the usage trigger ('want the rest of it adjusted' / 'for you to rearrange it') rather than a single crisp statement, which is clear but slightly indirect.

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 opens with an explicit 'Use when...' clause and enumerates concrete trigger conditions (missed run, less time, travel, tiredness, illness, a sore spot), which is well beyond implied usage. It also sequences the workflow by stating that check_week then validates the result against the app's code. What is missing is the negative case — e.g. not for weeks that went to plan, or not a substitute for check_week — so it stops short of full when/when-not coverage.

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