Skip to main content
Glama

Hyperhuman

Get embed code samples

get_embed_code_samples
Read-only

Returns static copy-paste code templates for workout embeds (keyHandshake iframe), program page embeds, custom player JavaScript, or Content API cURL snippets. All samples contain only placeholder values (YOUR_ORG_ID, YOUR_API_KEY) — no real credentials are fetched or transmitted. Defaults sample_type to embed_prebuilt when omitted. Primary tool when the user asks for embed code, iframe HTML, or API snippet examples. Not for integration strategy or step-by-step plans (use get_integration_plan).

Input Schema

NameRequiredDescriptionDefault
program_idNo
workout_idNo
browse_toolNo
sample_typeNoembed_prebuilt

Output Schema

NameRequiredDescriptionDefault
_viewTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, non-destructive, closed-world operation. The description adds meaningful context beyond that: samples are static templates, contain only placeholder values like YOUR_ORG_ID and YOUR_API_KEY, and no real credentials are fetched or transmitted.

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?

The description is front-loaded with the core purpose and key safety detail, and the enumeration of sample types is useful rather than wasteful. The exclusionary routing sentence is also compact and purposeful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values do not need explanation, and the annotations cover safety. However, the optional identifier and browse parameters remain unexplained despite being part of the tool's schema, leaving a notable gap for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for four undocumented parameters. It explains the default for sample_type and loosely describes sample categories, but it does not explain program_id, workout_id, or browse_tool, nor does it fully map the sample_type enum values to their meanings.

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?

The description states a specific verb and resource: returning static copy-paste code templates for workout embeds, program page embeds, custom player JavaScript, and Content API cURL snippets. It clearly distinguishes this from sibling tools such as get_integration_plan.

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?

It explicitly says to use this as the primary tool when the user asks for embed code, iframe HTML, or API snippet examples, and explicitly excludes integration strategy or step-by-step plans by directing those requests to get_integration_plan.

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