Skip to main content
Glama

ogfetch

Buy credits with USDC (Solana Pay)

buy_credits_usdc

Create a Solana Pay quote to top up this API key with USDC on Solana mainnet. Returns transaction_url, solana_pay_url, amount_usdc and a reference. POST {"account": ""} to transaction_url to get a ready-to-sign base64 transaction; sign and send it. Or show solana_pay_url as a QR code for a human to scan in Phantom. Then call check_usdc_payment. No browser needed.

Input Schema

NameRequiredDescriptionDefault
planYesCredit pack to buy.
api_keyNoYour ogfetch API key (ogf_...). Optional if the MCP connection is already configured with an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false and idempotentHint=false, and the description is consistent with all three: it creates a quote (a write-ish action) rather than charging, and repeated calls would yield fresh quotes. Beyond the annotations it adds real value — the exact response fields, the two-step POST/sign handoff, and the note that no browser is required. It omits quote expiry, whether creating the quote reserves or charges anything, and failure modes, which keeps it below a 5.

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?

Content is front-loaded — purpose first, then return fields, then the two invocation paths, then the mandatory follow-up. Every sentence carries operational information, including the inline POST body example. It is dense and slightly run-on (the JSON snippet interrupt mid-paragraph), but nothing is pure filler.

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 no output schema, the description correctly enumerates the returned fields (transaction_url, solana_pay_url, amount_usdc, reference) and explains how to consume each. It also names the required next tool, check_usdc_payment, closing the loop for a multi-step flow. Only edge details — quote lifetime, what happens if the payment is never sent, and error conditions — are absent.

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 100%, so both `plan` (with its starter/pro/business enum) and `api_key` are already documented in the schema. The description hints at them with 'top up' and 'this API key' but adds no format, default, or notable-value guidance beyond the schema. Baseline 3 applies when the schema carries the parameter burden.

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 opening sentence gives a specific verb, resource and scope: 'Create a Solana Pay quote to top up this API key with USDC on Solana mainnet.' An agent immediately knows this is the crypto-payment top-up path. It does not, however, contrast itself with the sibling tool buy_credits, so the agent must infer which payment rail to pick from the name alone.

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

Usage Guidelines4/5

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

The description lays out a clear operational sequence: call this to get quote URLs, POST the wallet address to transaction_url and sign/send, or render solana_pay_url as a QR for Phantom, then call check_usdc_payment. It also states 'No browser needed.' What is missing is any exclusion or comparison — nothing says when to prefer this over the sibling buy_credits (e.g. card vs USDC).

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