Skip to main content
Glama

use_payment_method

Fill the active tab's checkout form with a saved payment method after confirming card brand, last 4 digits, and merchant domain. Requires unlocked credential vault and payment access.

Instructions

Fill checkout form on the active tab with a saved payment method. Shows a confirmation prompt with card brand, last 4 digits, and merchant domain before any fill occurs. The fill domain is derived from the resolved tab URL inside the extension, not from this request. Requires both credential vault and payment access to be unlocked. Multi-agent: agent-scoped tabs; cross-agent reject with TAB_NOT_OWNED. Pass tab_id only when this agent owns multiple tabs; auto-resolves otherwise.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tab_idNoOptional. Tab id this action targets. Omit when the calling agent owns exactly one tab; pass to disambiguate when the agent owns multiple.
payment_method_idYesID of the payment method to use (from list_payment_methods)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries full burden and does so well: it discloses the confirmation prompt with card brand/last 4/merchant domain before filling, that the fill domain comes from the resolved tab URL rather than the request, the dual unlock prerequisite, and the TAB_NOT_OWNED cross-agent rejection.

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?

Four sentences, front-loaded with the action and confirmation behavior, then prerequisites and multi-agent routing. No filler, though the multi-agent clause is fairly dense.

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?

Covers prerequisites, confirmation step, security derivation, and error behavior for a no-output-schema tool. Leaves slightly unclear what the tool returns on success or whether the form is submitted versus only filled.

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 100% and the description's tab_id guidance essentially restates the schema's own 'omit when exactly one tab, pass to disambiguate' wording. No parameter detail is added beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource: 'Fill checkout form on the active tab with a saved payment method.' This is clearly distinguishable from list_payment_methods and fill_credential by resource, though no sibling is named explicitly.

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?

Gives clear precondition context ('Requires both credential vault and payment access to be unlocked') and a rule for tab_id usage ('Pass tab_id only when this agent owns multiple tabs; auto-resolves otherwise'). No explicit when-not or named alternative, so it stops short of a 5.

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