Skip to main content
Glama

Generate HTTP payment snippet

generate_payment_http_snippet
Read-onlyIdempotent

Generates a raw HTTP sample for creating a Payram payment in the requested language.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageYesProgramming language for the HTTP payment creation snippet

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
notesNo
titleYes
snippetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered and the description cannot contradict it. The description adds only the output form (a raw HTTP sample), which the existing output schema largely covers; it says nothing extra about scope, limitations, or how the snippet is produced.

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?

A single front-loaded sentence with the verb and artifact first and one qualifying clause. There is no filler and nothing that could be trimmed without losing information.

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?

With one fully documented enum parameter, a full annotation set, and an output schema that covers return values, the description supplies what an agent needs to invoke the tool correctly. It could still be improved by stating which sibling generators it replaces, but nothing essential is missing.

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% and the single 'language' parameter is constrained by an enum with its own description, so the schema does the heavy lifting. The phrase 'in the requested language' adds no format or syntax detail beyond what the schema already states, so the baseline 3 applies.

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?

The description names a specific verb (Generates) and a concrete artifact (a raw HTTP sample for creating a Payram payment), which is meaningfully distinct from the SDK/route/status snippet siblings because of the 'raw HTTP' qualifier. It stops short of naming any sibling explicitly, so an agent must infer the boundary itself.

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?

There is no explicit when-to-use or when-not-to-use statement, but 'raw HTTP sample' implicitly scopes the tool to integrations that talk to the API directly rather than via the generate_payment_sdk_snippet or generate_payment_route_snippet tools. The agent can infer the choice, but nothing is stated outright.

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