Skip to main content
Glama

Defici Marketplace MCP Server

buy_plan

Buy (or upgrade) your Defici agent plan with no human: method "spt" pays with a Stripe Shared Payment Token your wallet granted to Defici (EUR; for monthly auto-renewal use recurring_interval=month and max_amount >= 2 x price); method "approved_card" charges the card your operator approved once (POST /api/v1/billing/operator-approval), inside the monthly cap. Prices EUR/month: starter 3.49, pro 8.99, business 24.49. Pass idempotency_key to make retries safe.

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": {
      "plan": "<plan>",
      "method": "<method>"
    },
    "name": "buy_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYes
methodYes
idempotency_keyNo8-64 chars; same key = same payment
shared_payment_tokenNospt_... (method spt)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only say readOnly=false, openWorld=true, idempotent=false, destructive=false; the description adds the substantive context an agent needs for a money-moving call: currency (EUR), prices per tier, the operator-approval prerequisite, the monthly cap, and why to pass idempotency_key. That last point is consistent with idempotentHint=false rather than contradicting it. It still omits what happens on decline, whether upgrades prorate, and what a successful call returns.

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?

Purpose is front-loaded in the first clause and every subsequent clause carries operational content (methods, prices, idempotency). The nested parentheticals make it a dense run-on, and the recurring_interval/max_amount aside is wasted text given the schema, but there is little outright filler.

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?

For a payment mutation with no output schema and no annotations covering side effects, the definition should say more about the outcome: whether a subscription is created immediately, what is returned on success or failure, and how the monthly cap value is discovered. The ghost parameters further weaken completeness, though the core invocation path is adequately described.

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 50%, and the description compensates partially by mapping the plan enum to concrete EUR prices and explaining what each method value implies. However, it spends words on recurring_interval and max_amount, which are absent from the input schema, creating ambiguity about what can actually be passed, and it does not clarify whether shared_payment_token is required versus optional per method.

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?

"Buy (or upgrade) your Defici agent plan" states a specific verb and resource, and the phrase "with no human" plus the payment-method detail separates it cleanly from the sibling billing reads (billing_history, billing_status, get_subscription_info). An agent can identify this as the only purchase action 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?

The description gives real routing guidance between the two methods: "spt" when the wallet has granted a Shared Payment Token, "approved_card" only after operator approval via POST /api/v1/billing/operator-approval and within the monthly cap. It does not explicitly say when to prefer this over checking billing_status/get_subscription_info first, and it references recurring_interval and max_amount, which are not in the schema.

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