Skip to main content
Glama

PB-Runner: Running Coach

commit_profile_update

DestructiveIdempotent

Commit a previously proposed profile change. Call ONLY after the user has confirmed the diff from propose_profile_update. Pass the confirmation_token from that call. Returns the updated profile and warnings: an accepted value the user should double-check (e.g. a max HR set below their highest recorded heart rate, which is now used for their zones) is named there with the reason — tell the user plainly.

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": {
      "confirmation_token": "<confirmation_token>"
    },
    "name": "commit_profile_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmation_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description doesn't need to re-establish the safety profile. It adds genuinely new behavior: the confirmation-token handshake from the propose step and the existence of a `warnings` field whose contents must be relayed to the user, with a concrete example. It stops short of saying what exactly changes when the commit is applied or whether a rejected/stale token produces an error.

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?

Front-loads the action, then the precondition, then the parameter provenance, then the return-value caveat. Every sentence carries a distinct operational instruction; the max-HR example is short and directly actionable rather than padding.

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 one-parameter mutation with no output schema, the description covers the prerequisite flow, the required input's origin, and the shape of the response including the one field that requires user-facing follow-up. Nothing an agent needs to call and report correctly is missing.

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 0% and the single parameter is undocumented structurally, but the description supplies its meaning ('Pass the confirmation_token from that call'), which is the key semantic an agent needs. It doesn't state format, expiry, or what happens with an invalid or reused token.

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?

States a specific verb ('Commit') and resource ('previously proposed profile change') and explicitly ties it to the sibling propose_profile_update, so an agent can tell it apart from propose/get siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition for invocation ('ONLY after the user has confirmed the diff from propose_profile_update') and names what must be carried over from that call. The when-not-when is unambiguous: do not call before user confirmation.

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