Skip to main content
Glama

Add Campaign Funds

dynamoi_add_campaign_funds
Idempotent

Create the same unpaid Stripe Checkout the dashboard's Add campaign funds button creates, in the artist's bound currency, and return its URL for the user to open and pay. Call it first WITHOUT confirm to get the exact amount and currency; show both to the user and obtain their explicit approval, then call again with confirm=true, that currency, the same amountMinor and the same requestId (retrying within 24 hours returns the same session; once a payment exists for that requestId, or after a day, use a new requestId). This never charges anyone or records a deposit: dynamoi_get_billing reports the exact deposit outcome in prefundPayments.detail and separately reports accountFundingHold. A confirmed deposit does not establish spendability or release a hold; an internal funding adjustment does not prove a cash refund. Refused when funding is on hold, billing setup is required, the amount is outside the allowed range or the currency is not live.

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": {
      "amountMinor": "<amountMinor>",
      "artistId": "<artistId>",
      "requestId": "<requestId>"
    },
    "name": "dynamoi_add_campaign_funds"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
artistIdYes
currencyNo
requestIdYes
amountMinorYes

Output Schema

NameRequiredDescriptionDefault
codeNo
dataNo
kindNo
fieldNo
statusYes
draftIdNo
messageNo
retryableNo
nextActionNo
failureStageNo
prerequisiteNo
screeningResultNo
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), and the description goes further by clarifying that nothing is charged or recorded and that get_billing's prefundPayments.detail is the source of truth for the deposit outcome. The caveats about spendability, holds, and internal funding adjustments being no proof of refund are genuinely useful context beyond the annotations, though they read as warnings rather than operational detail. It also enumerates refusal states (funding on hold, billing setup required, out-of-range amount, non-live currency).

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?

The action and the two-phase flow are front-loaded, and each subsequent sentence carries a distinct constraint (idempotency window, no-charge guarantee, refusal conditions). It is dense as a single unbroken paragraph and the billing caveats could be trimmed or bulleted for faster scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a stateful, two-call payment-setup tool this covers everything needed to invoke it correctly: the approval loop, parameter coupling across calls, retry rules, and refusal preconditions. An output schema exists, so the description need only note that the first call returns amount and currency and the confirmed call returns a URL, which it does.

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?

With 0% schema description coverage, the description carries the full burden and largely succeeds: it explains confirm as the two-phase gate, currency as the artist's bound currency that must be echoed back and must be live, amountMinor as the value from the first call that must be repeated, and requestId's 24-hour reuse contract. It does not state that amountMinor is in minor units (cents) or spell out artistId's role beyond 'the artist's bound currency', which are the remaining gaps.

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 — creating the same unpaid Stripe Checkout session as the dashboard's 'Add campaign funds' button — plus the concrete outcome (a URL for the user to open and pay). This is clearly distinguishable from dynamoi_get_billing, which the description explicitly positions as the read-only reporting counterpart.

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

Usage Guidelines5/5

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

Gives an explicit two-phase protocol: call first WITHOUT confirm to retrieve amount and currency, show both to the user, obtain explicit approval, then call again with confirm=true and identical amountMinor/currency/requestId. It also states retry semantics (same session within 24 hours, new requestId after a payment or a day) and the exact refusal conditions, leaving nothing to inference.

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.