Skip to main content
Glama

HamroLink Business OS MCP Server

commerce.update_payment_config

Destructive

Configures e-commerce payment methods: Fonepay/eSewa/Khalti/Bank QR image URL, Cash on Delivery toggle, and payout identifiers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "commerce.update_payment_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdNoOptional Site ID
esewaIdNoeSewa ID
codEnabledNoEnable or disable Cash on Delivery
bankDetailsNoBank account details
khaltiNumberNoKhalti phone number
paymentQrCodeNoUploaded payment QR image URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare destructiveHint=true and openWorldHint=true, but the description never says that existing payment configuration can be overwritten, whether omitted fields are preserved or cleared, or that this affects the live checkout experience for a site. For a destructive, all-optional-field mutation, the description adds almost no behavioral context beyond what annotations already signal.

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?

A single front-loaded sentence naming the resource before listing the configurable settings, with no filler. The dense inline enumeration of providers is slightly list-like but every element carries information.

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?

With six optional parameters, destructive semantics, and no output schema, the description should explain what happens when fields are omitted and what the call returns or affects. It covers the surface subject matter but leaves the agent without enough to invoke this mutation confidently.

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 description coverage is 100%, so the schema already documents all six parameters, which sets the baseline at 3. The description adds only light mapping value by grouping the fields into payment methods, a COD toggle, and "payout identifiers" (esewaId/khaltiNumber/bankDetails), but it does not clarify formats, which fields pair with which provider, or what an empty call does.

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 states a specific verb ("Configures") and resource ("e-commerce payment methods") and enumerates the concrete settings it touches: Fonepay/eSewa/Khalti/Bank QR image URL, Cash on Delivery toggle, and payout identifiers. It is clearly distinct from every listed sibling, none of which deals with payment configuration, so no explicit sibling differentiation is needed.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g. site must exist, image must be uploaded first), and no statement of when-not to use it or what alternative applies. The agent must infer that this is the setup step for enabling payment methods on a site.

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.