Skip to main content
Glama

Vega Developer Utilities

Vega Order

vega_order

Buy VEGA credits with Bitcoin. Creates a BTCPay invoice (100 sats/credit, 100-credit minimum). Returns order_id, invoice_url and amount. Pay it in BTC, then call vega_collect_key with the order_id. FREE.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vega_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
creditsNoHow many credits to buy; minimum 100.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / credits / description
      Added value: +"How many credits to buy; minimum 100."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation, so the safety profile is known. The description adds pricing (100 sats/credit), a minimum purchase constraint, the returned identifiers, and the required post-payment workflow, which is meaningful context beyond the annotations. It omits invoice expiry, idempotency, and failure behavior.

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?

Front-loaded with the core action, then the invoice mechanics, return values, and next step in five short sentences. The repeated 100-credit minimum is the only minor redundancy, and the text contains no 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?

Output schema exists, so the explicit return-field list is redundant but harmless. The description covers the purchase, payment, and follow-up sequence sufficiently for a one-parameter tool. Minor gaps around payment failure or invoice reuse do not block correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter already documents 'minimum 100'. The description still adds value by translating credits into cost ('100 sats/credit'), which the schema does not express, making the parameter's practical meaning clearer.

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?

States a specific verb and resource ('Buy VEGA credits with Bitcoin') plus the concrete mechanism ('Creates a BTCPay invoice'), which distinguishes it clearly from the sibling vega_collect_key and vega_credits tools.

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?

Gives a clear usage context and an explicit follow-up step ('Pay it in BTC, then call vega_collect_key with the order_id'), which routes the agent through the purchase flow. It does not state when not to use it or what to do if the invoice is never paid, but the primary path is unambiguous.

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