Skip to main content
Glama
launchframe-dev

LaunchFrame MCP

credits_get_add_pattern

Generate code to add credits to users programmatically by specifying transaction types like purchase, refund, or bonus.

Instructions

Get the code snippet for programmatically adding credits to a user with a specific transaction type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transactionTypeYesThe CreditTransactionType to use
Behavior3/5

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

No annotations provided, so description carries full burden. Successfully clarifies this retrieves a code pattern/template rather than performing the actual credit mutation. However, lacks details on output format (language, structure) or whether snippet is framework-specific.

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?

Single, efficient sentence with no redundancy. 'Programmatically' is slightly implicit (given 'code snippet') but acceptable. Front-loads the action and resource clearly.

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

Completeness4/5

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

Appropriate for a low-complexity, single-parameter tool with complete schema coverage. Sufficient for agent to understand it returns a pattern/snippet, though specifying output format (e.g., 'TypeScript example') would further help.

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 coverage is 100% with transactionType well-defined via enum values. Description mentions 'with a specific transaction type' which contextualizes the parameter but doesn't add syntactic or semantic details beyond the schema's enum list.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clear verb 'Get' and resource 'code snippet for programmatically adding credits'. Implicitly distinguishes from sibling 'credits_get_deduction_pattern' by specifying 'adding' operation, though explicit differentiation would strengthen it.

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

Usage Guidelines3/5

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

Provides implied context (use when implementing credit addition logic) but lacks explicit guidance on when to use vs 'credits_get_deduction_pattern' or 'credits_get_monetization_strategies', and doesn't state prerequisites.

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/launchframe-dev/mcp'

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