Skip to main content
Glama
growsurf

GrowSurf MCP Server

Official
by growsurf

growsurf_embeddable_element_snippet

Read-onlyIdempotent

Generate an HTML snippet to embed GrowSurf referral elements, including forms, rewards, and referral status, with optional participant authentication.

Instructions

Generate the HTML snippet for a GrowSurf embeddable element (with optional auth attributes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
elementYes
participantNo
withAuthAttributesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
markdownNoThe generated guidance as a markdown document.
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds no behavioral detail beyond 'generate', offering no information on side effects, rate limits, authentication needs, or what the snippet actually produces. It essentially restates the name with a minor addition.

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 a single, clear sentence with no extraneous words. The core purpose is stated upfront, and the optional modifier is concise. It is an efficient, well-structured definition.

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?

Given the tool has 3 parameters (one required) with a nested object and an output schema exists, the description is minimal. It conveys the basic intent but does not explain the role of all parameters or when to use it. Since the output schema is present, return details are covered elsewhere, but the description lacks depth for a tool with this complexity.

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 0%, so the description must compensate. It touches on 'auth attributes' which maps to withAuthAttributes, but it does not explain the 'participant' object or how it relates to the element. The explanation is incomplete, leaving the agent to guess the purpose of participant fields like email and names.

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 ('Generate') and a precise resource ('HTML snippet for a GrowSurf embeddable element'), plus a clarifying modifier about optional auth attributes. This clearly distinguishes it from sibling snippet tools like growsurf_client_snippets or growsurf_grsf_config_snippet, which target different aspects of embedding.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives such as growsurf_client_snippets or growsurf_api_library_snippets, nor any conditions or prerequisites. The description does not explain the context in which this snippet generator is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/growsurf/growsurf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server