Skip to main content
Glama

Generate SDK payment snippet

generate_payment_sdk_snippet

Generates backend code using the official Payram JS/TS SDK to create a payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameworkYesTarget framework for the SDK payment snippet. generic-http provides a framework-agnostic example.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
notesNo
titleYes
snippetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations provided, the description must carry the behavioral disclosure burden. It only restates the core purpose and gives no detail about the generated code's structure, framework-specific variations, or any side effects, making it minimally transparent.

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, front-loaded sentence that efficiently states the tool's action and scope. There is zero wasted wording.

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?

The tool is simple (one parameter, output schema exists), and the description conveys the essential purpose. However, it lacks any context about when this SDK snippet should be preferred over the many related snippet tools, leaving a completeness gap for an agent navigating the toolset.

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?

The schema provides 100% coverage of the single 'framework' parameter with enum descriptions, so the description does not need to add parameter details. It adds no extra value beyond the schema, aligning with the baseline score.

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 uses a specific verb ('Generates') with a clear resource ('backend code using the official Payram JS/TS SDK to create a payment'). It distinguishes itself from sibling tools like generate_payment_http_snippet and generate_payment_route_snippet by explicitly targeting the SDK approach.

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?

The description provides no guidance on when to use this tool versus alternatives, nor does it mention any prerequisites or context. Sibling tools exist for HTTP, route, and status snippets, but the description does not differentiate usage scenarios.

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