Skip to main content
Glama

Vega Developer Utilities

Vega Collect Key

vega_collect_key

After paying the invoice from vega_order, collect your API key by order_id. Returns the key ONCE if the invoice is settled. FREE.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "order_id": "<order_id>"
    },
    "name": "vega_collect_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYesThe order_id returned by vega_order.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / order_id / description
      Added value: +"The order_id returned by vega_order."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, openWorldHint=false, destructiveHint=false; the description adds the genuinely important behavior that the key is returned ONCE and only when the invoice is settled, plus that the call is free (relevant given the vega_credits sibling). That one-shot, conditional-return trait is exactly the kind of disclosure annotations cannot carry. It does not describe the failure mode or error when the invoice is unsettled, keeping it below 5.

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?

Two short sentences with the prerequisite front-loaded and the critical one-shot constraint placed immediately after. Every clause carries information; nothing is wasted or buried.

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?

For a one-parameter tool with an output schema, the description covers the prerequisite chain and the one-shot return semantics, which are the parts an agent could get wrong. The main omission is what happens on an unsettled invoice (error type or retry behavior), which matters because the one-shot property makes a mistaken call costly.

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?

With a single parameter at 100% schema coverage, the schema already documents order_id fully, including its origin. The description reinforces the linkage to vega_order but adds no format, syntax, or validation detail beyond the schema, so the baseline of 3 applies.

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 ('collect your API key') and pins the retrieval key ('by order_id'), which is enough for an agent to distinguish it from vega_order, the tool that pays the invoice. The purpose is unambiguous without opening the schema.

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 an explicit sequence and precondition: use this only 'after paying the invoice from vega_order'. It names the sibling that must run first, which is strong routing guidance. It stops short of stating what to do if the invoice is unpaid beyond the conditional 'if the invoice is settled', so it is not a full when/when-not pair.

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