Skip to main content
Glama

Update Custom Domain Payment Method

update_custom_domain_payment_method
Destructive

Update the payment method for a custom-domain order. Requires confirm set to UPDATE_PAYMENT_METHOD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
metadataNo
directChargeNo
orderObjectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds the need for the confirm parameter to be set to a specific value, which is useful behavioral context beyond the annotations. No contradiction.

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?

The description is a single sentence that conveys the core function and a critical prerequisite. No wasted words; very efficient.

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

Completeness2/5

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

The description does not cover the purpose of optional parameters, possible return values, or behavioral side effects. Given the tool has 4 parameters and no output schema, the brief description leaves significant gaps in understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage. The description only clarifies the 'confirm' parameter by specifying its required value. It provides no information about metadata, directCharge, or orderObjectId, leaving much of the schema unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it updates the payment method for a custom-domain order. However, it does not differentiate from sibling tools like update_business_custom_domain_payment_method or update_community_custom_domain_payment_method, which may cause confusion about which to use.

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

Usage Guidelines3/5

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

The description provides a specific requirement: 'Requires confirm set to UPDATE_PAYMENT_METHOD.' This is helpful but lacks broader context on when to use this tool versus alternatives, and no exclusions or when-not-to-use guidance.

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