Skip to main content
Glama

Copy a coaching brain from a code

copy_coach_from_code

Use this when a coach has another coach's Phorme code and wants to start their own coaching brain from it, for example "start my brain from K7Q2-XR4D". Sent with the code alone, it shows whose brain it is and whether its coach lets other coaches copy it, and changes nothing. Sent with a name and confirmation, it makes a new draft brain from it with its rules and programs, which the coach then makes their own; the coach who made it keeps 10% of what the copy earns. It needs a connected Phorme account; set confirmation to true only after the coach said yes and chose the name.

Input Schema

NameRequiredDescriptionDefault
codeYesThe code as the coach gave it, for example "K7Q2-XR4D", or its phor.me/c/ link.
nameNoThe name the coach chose for their copy. Needed to copy.
confirmationNoTrue only after the coach confirmed the copy and its name.

Output Schema

NameRequiredDescriptionDefault
nextNo
brainNo
foundNo
copiedYes
console_urlNo
requires_confirmationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it reveals that the code-only form changes nothing, that the name+confirmation form creates a draft copy with rules and programs, that the originating coach keeps 10% of earnings, and that a connected account is required. These are material behavioral facts an agent could not infer from readOnlyHint/destructiveHint alone.

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?

Front-loaded with the 'Use this when...' trigger, then the two modes and the account/confirmation caveats. It is a dense paragraph rather than bulleted, but every sentence carries actionable information with no filler.

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?

With full schema coverage, an output schema, and non-destructive annotations already present, the description fills exactly the remaining gaps: when to use it, what each mode does, the royalty side effect, and the confirmation gating. Nothing needed to call it 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 100%, so the baseline is 3, but the description adds real meaning: it explains the code-only vs code+name+confirmation branching and the ordering constraint that confirmation should be true only after the coach has agreed and chosen a name. This clarifies how parameters combine, not just what they are.

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 and resource ('copy' a 'coaching brain from a code') and distinguishes itself from siblings like find_coaching_brain and start_my_coaching_brain by describing the copy-from-another-coach scenario. The example phrase ('start my brain from K7Q2-XR4D') anchors the intent unambiguously.

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?

Gives a clear triggering condition ('when a coach has another coach's Phorme code and wants to start their own coaching brain from it') and explains the two invocation modes (code alone for preview, name+confirmation for copy). It does not name specific alternative siblings, so it stops short of full when-not guidance.

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.