Skip to main content
Glama

Phorme Training

Save workout to Phorme

save_workout_to_phorme
Idempotent

Use this only after preview_workout_import returned a preview and the user clearly said to save it. It saves that workout to the connected Phorme account as a private workout and returns a link that opens it in Phorme; share that link with the user. It needs a connected Phorme account with the training:write permission. Retrying with the same idempotency_key returns the same saved workout and does not create a second copy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
preview_idYesThe preview_id returned by preview_workout_import.
confirmationYesSet to true only after the user clearly confirmed this save in the conversation.
idempotency_keyYesA unique string for this save. Reuse the same value when retrying so no second copy is created.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
open_urlYesLink that opens the saved training in Phorme.
training_idYes
training_kindYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond annotations by disclosing the required OAuth scope (training:write), the created resource's visibility (private workout), the return payload (a link to share with the user), and retry semantics for idempotency_key. Annotations only cover the generic write/idempotent/safe profile; the description supplies the operational detail an agent needs.

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?

Four short sentences, each carrying distinct content: prerequisite gate, action and output, permission requirement, retry semantics. The gating condition is front-loaded, and nothing is redundant with structured fields.

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 write tool with a confirmation gate, an output schema present, and full schema coverage, the description covers the preconditions, permissions, side effects, and downstream instruction (share the link). Nothing an agent needs to invoke it correctly is missing.

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 all three parameters are already documented, including the idempotency_key reuse rule and the confirmation gate. The description restates the idempotency behavior but adds no syntax or format detail beyond the schema, so baseline 3 applies.

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+resource ('saves that workout to the connected Phorme account') and scopes it precisely as the second half of a two-step flow. It clearly distinguishes itself from preview_workout_import, which it names as the prerequisite.

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?

Explicitly gives the when-to-use condition ('only after preview_workout_import returned a preview and the user clearly said to save it') and names the alternative tool the agent should have already called. It also implies the when-not condition: do not call before a preview and explicit 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