Skip to main content
Glama

Add or take off time

adjust_dish

No sign-in needed. Add time to a dish (a positive number of minutes) or take time off (negative). Before the person taps Start this changes the plan, and the ready time stays; afterwards it changes that dish's timer on the phone. Needs the plan's code and control key.

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": {
      "code": "<code>",
      "key": "<key>",
      "dish": "<dish>",
      "minutes": "<minutes>"
    },
    "name": "adjust_dish"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe secret control key plan_meal gave you for this plan (starts with ktpk_). Never show it or put it in a link.
codeYesThe plan's code, or its whole link.
dishYesThe dish's name as in the plan, or its number in the plan (1 is the first dish).
minutesYesMinutes to add (positive) or take off (negative), such as 2 or -1.5. Not zero.

Output Schema

NameRequiredDescriptionDefault
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, and idempotentHint=false, so the safety profile is covered. The description adds real value beyond that — no sign-in required, the phase-dependent effect, and the fact the ready time is preserved before Start — but it doesn't address repeated-call accumulation, limits (the schema caps at ±720), or failure behavior when the dish is already running.

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?

Four tight sentences with no filler, and the behavioral distinction between before-Start and after-Start is front-loaded. The opening 'No sign-in needed' is a minor lead-in rather than the most decision-relevant fact, but nothing is wasted.

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 an output schema present, return values need no explanation, and all four parameters are fully documented in the schema. The description covers the essential ambiguity — what happens depending on whether the dish has started — leaving only edge cases like out-of-range values unaddressed.

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 would be 3; the description goes slightly beyond by framing 'minutes' as signed (positive adds, negative subtracts) and by explaining that the plan code and control key are required credentials. It adds little on 'dish' beyond what the schema already says about name-or-number.

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 concrete verb and resource: it adds minutes (positive) or removes them (negative) from a named dish. It also distinguishes the two operational modes (pre-Start plan change vs. live timer change), but it never differentiates itself from the sibling adjust_timer, which an agent could plausibly confuse with this tool.

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 clearly frames the context of use: the effect depends on whether the person has tapped Start, and pre-Start adjustments preserve the ready time. That is useful decision context, though there are no explicit when-not-to-use conditions or named alternatives such as adjust_timer.

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