Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

Create customer onboarding link

create_customer_onboarding_link
Destructive

Create a customer and get a hosted verification link for them in one call, so the customer enters their own KYC/KYB details. An existing customer with the same email is reused (customer_created is false) and the fields sent are ignored.

Instructions

Create a customer and get a hosted verification link for them in one call, so the customer enters their own KYC/KYB details. An existing customer with the same email is reused (customer_created is false) and the fields sent are ignored. Takes the same fields as create_customer; send what you already know.

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": {
      "customerType": "<customerType>"
    },
    "name": "create_customer_onboarding_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
dobNoDate of birth in YYYY-MM-DD format (e.g., '1990-01-15')
typeNoCompany type (e.g., 'Private Company Limited by Shares')
emailNoCustomer's email address
phoneNoPhone number with country code (e.g., '+14155552671')
taxIdNoTax ID (e.g., '12-3456789')
countryNoCountry code ISO 3166-1 alpha-2 (required for businesses, e.g., 'US')
websiteNoWebsite URL
lastNameNoLast name (required for individuals)
firstNameNoFirst name (required for individuals)
rejectUrlNoWhere to send the customer if verification is rejected
ttlInSecsNoLink lifetime in seconds (default 1800)
middleNameNoMiddle name
successUrlNoWhere to send the customer after verification succeeds
acceptTermsNoAccept Stables' terms of service and privacy policy
addressCityNoCity
companyNameNoCompany name (required for businesses)
nationalityNoTwo-letter country code (e.g., 'US', 'GB')
addressLine1NoStreet address line 1
addressLine2NoStreet address line 2
addressStateNoState or region
customerTypeYesType of customer - 'individual' for personal, 'business' for companies
entitlementsNoList of entitlements to request
sourceOfFundsNoSource of funds
accountPurposeNoWhat will you use Stables for?
addressCountryNoTwo-letter country code (e.g., 'US')
incorporatedOnNoDate of incorporation in YYYY-MM-DD format
describeBusinessNoDescription of the business
legalAddressCityNoLegal address city (for businesses)
verificationTypeNoRun one verification step instead of the full flow
addressPostalCodeNoPostal/ZIP code
legalAddressLine1NoLegal address line 1 (for businesses)
legalAddressLine2NoLegal address line 2 (for businesses)
legalAddressStateNoLegal address state (for businesses)
externalCustomerIdNoYour own reference ID for this customer
registrationNumberNoBusiness registration number
accountPurposeOtherNoExplain purpose (required if accountPurpose is OTHER)
legalAddressCountryNoLegal address country code (for businesses)
conductMoneyServicesNoWhether the company conducts money services
registrationLocationNoRegistration location (e.g., state for USA)
describeMoneyServicesNoDescribe money services (required if conductMoneyServices is true)
expectedAnnualRevenueNoEstimated annual revenue in USD
legalAddressPostalCodeNoLegal address postal code (for businesses)
expectedMonthlyPaymentsNoExpected monthly payments in USD
sourceOfFundsDescriptionNoDescribe where your business funds come from
describeComplianceControlsNoDescription of compliance controls
operateInProhibitedCountryNoDoes your business operate in any prohibited countries?
doesYourBusinessEngageInHighRiskActivitiesNoDoes your business engage in high risk activities?

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.6.13
    • changedInput schema / properties / entitlements / items / enum
      Previous value: -[
      -  "base_payout",
      -  "virtual_account",
      -  "eur_virtual_account",
      -  "gbp_virtual_account",
      -  "usd_virtual_account",
      -  "aed_local"
      -]New value: +[
      +  "base_payout",
      +  "base_pay_in",
      +  "virtual_account",
      +  "eur_virtual_account",
      +  "gbp_virtual_account",
      +  "usd_virtual_account",
      +  "aed_local"
      +]
  2. Changed3 schema fields changedv2.6.11
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / email / pattern
      Added value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • addedInput schema / properties / ttlInSecs / maximum
      Added value: +9007199254740991
  3. Addedv2.4.0

TDQS

A4.2/5.0
Behavior3/5

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

Adds genuinely useful non-schema behavior: an existing customer with the same email is reused, customer_created is false in that case, and the submitted fields are ignored. However, for a destructive, non-idempotent mutation with no output schema, it says nothing about what the returned link contains, its expiry beyond the ttlInSecs default, or what happens to partially-updated existing records.

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?

Three short sentences, front-loaded with the primary action, then the reuse edge case, then the payload rule. No filler or repetition of schema content.

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 47-parameter destructive mutation with no output schema, the description covers the essential contract: what is created, what is returned, the email-reuse branch, and that fields are optional. Gaps remain around the returned link's structure and any delivery/handling requirements, but annotations and the rich schema cover much of the rest.

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% so the baseline is 3; the description earns a bump by stating the payload is the same as create_customer and that partial fields are acceptable ('send what you already know'), plus a documented return flag (customer_created) that no schema field exposes. It does not explain required-vs-optional nuances across the 47 params, which the schema handles.

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 compound action (create customer + return a hosted verification link) and names the sibling whose fields it mirrors (create_customer), so an agent can distinguish it from create_customer and get_verification_link without opening a 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?

'so the customer enters their own KYC/KYB details' gives the condition that selects this tool over a direct create_customer call, and 'send what you already know' clarifies partial-data usage. It does not explicitly state when to prefer create_customer instead, but the context is clear enough to infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.