Skip to main content
Glama

Get Billing

dynamoi_get_billing
Read-only

Use action=native_commerce for the native commerce projection (read-only; no subscription changes or invoices). Use this when the user asks about billing state, credit balance, promo limits, subscription status, campaign-fund deposits, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. paymentMethod contains only the shared masked display details (brand or bank, type, last four digits and expiry); null means details are unavailable, not proof that no method exists. Use prefundPayments.detail for each deposit: pending = Deposit pending; action_required = Payment action required; failed = Deposit failed; confirmed = Deposit confirmed; adjusted = Funding adjustment recorded; refunded = Deposit refunded; partly_refunded = Deposit partly refunded; returned = Payment returned; disputed = Payment disputed; unavailable = Deposit status unavailable. refundAmountMinor is the proved cash refund in that deposit currency's minor units; use currencyExponent when formatting it. Never infer a cash refund from an internal adjustment or the legacy state alias. accountFundingHold is separate: 'Campaign funds are on hold. Contact support@dynamoi.com for help.' Deposit confirmation does not establish spendability or release a hold. A Checkout link alone is never a deposit. To add campaign funds, call dynamoi_add_campaign_funds if this connection has that tool; if not, use the Dynamoi dashboard at https://dynamoi.com/dashboard/marketing/billing. For other billing setup tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard/marketing/billing.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.

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": {
      "artistId": "<artistId>"
    },
    "name": "dynamoi_get_billing"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNo
formatNo
artistIdYes
onboardingAttemptIdNo

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. Changed1 schema field changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "summary",
      -  "native_deposits",
      -  "native_commerce"
      -]New value: +[
      +  "summary",
      +  "native_commerce"
      +]
  2. Added
  3. Removed
  4. Changed4 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -{}New value: +false
    • addedOutput schema / properties / data
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
    • addedOutput schema / properties / kind
      Added value: +{
      +  "enum": [
      +    "validation",
      +    "business",
      +    "platform",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / message
      Added value: +{
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / onboardingAttemptId
      Added value: +{
      +  "maxLength": 120,
      +  "minLength": 1,
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "status": {
      +      "enum": [
      +        "success",
      +        "partial_success",
      +        "error"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "type": "object"
      +}
  7. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, and the description is consistent while adding substantial context annotations cannot carry: that deposit confirmation does not establish spendability, that a hold is independent of deposits, that a Checkout link is never a deposit, and that paymentMethod=null means unavailable rather than absent. These are exactly the misinterpretation traps an agent would otherwise fall into.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is decision-relevant but poorly front-loaded: the definition opens with a parameter directive ("Use action=native_commerce...") instead of the tool's purpose, which arrives in sentence three. The long verbatim status-mapping chain (pending/action_required/failed/.../unavailable) and the two literal URL/quote templates bulk up the prose considerably, and since an output schema exists, some of that return-value spelling out likely duplicates structured data.

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 read-only billing read with a rich output schema, the description covers behavior, interpretation hazards, escalation wording, and sibling routing thoroughly. The residual gap is undeclared handling of `format` and `onboardingAttemptId`, which no other structured field explains either.

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 0% across 4 parameters, so the description must compensate. It explains only the action=native_commerce branch of a 2-value enum and says nothing about `format`, `onboardingAttemptId`, or why artistId scopes the check, leaving three of four parameters undocumented in both schema and prose.

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?

"This is a read-only status check" plus an enumerated scope (billing state, credit balance, promo limits, subscription status, campaign-fund deposits) gives a specific verb+resource an agent can match to a user request. It also names what it is not (no checkout links, no payment collection) and explicitly excludes two sibling domains, so it is distinguishable 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 Guidelines5/5

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

Explicit when-to-use triggers are listed, the alternative path for adding funds is named (dynamoi_add_campaign_funds, with a dashboard fallback if the connection lacks it), and exclusions are stated: "Do not use this for campaign analytics or platform connection troubleshooting." It even gives the follow-up step (re-call to confirm status).

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.