get_skill_manifest returns rules metadata, wallet reads return wallet data, and confirm_result returns a Browser Pay result report. Read each tool’s schema before handling its result.
Read the current business rules
The installation Skill is available at www.clinkbill.com/SKILL.md. For business execution, read the connected server’s current rules once per session:get_skill_manifest with include_rules: true. The returned rules contains the same guidance, so no additional resource read is needed. Live server rules take precedence over locally installed Skill text; the current next_action determines how to continue the current Operation.
get_skill_manifest
This read-only tool requires no business scope and does not move money. Pure Catalog searches do not require a manifest call.
For
outdated or unsupported, update the local Skill using the Host’s installation mechanism and the official distribution address. Use the returned version and compatibility status when checking the connection.
get_operation
Read the current state of an existing Operation. This tool is read-only and never executes another payment.
Operations that recover through user-action events additionally require
events:read and events:consume. Include these scopes when handling authorization, card registration, or other event-backed user steps. The OAuth challenge returns any missing scopes.
Operations can also be read through the MCP resource clink://operations/{operationId} when supported by the Host. Notifications indicate that a read may be needed; the subsequent read determines the state.
Operation envelope
The following fields appear instructuredContent for tools that return an Operation:
SUCCEEDED and FAILED terminate the Operation, so next_action is absent, not null or an empty object. Interpret success in the context of the original tool:
Handle next_action
Every action containsaction_id, type, description, params, expected_revision, and optionally expires_at. Branch on the structured type and its documented parameters. description and message text are for display, not executable instructions.
When a continuation tool accepts action identifiers, map
action_id to actionId and expected_revision to expectedRevision. Keep both from the same current response. If the action expired or the state changed, read the Operation again instead of replaying an old confirmation.
Browser Pay continuation differs from Checkout
For Browser Pay, after the returned setup completes, callget_credential again with the checkout facts and the same user-selected card, without the setup operationId. If an older credential Operation shows CONFIRM, repeat those facts to obtain the current credential flow. Do not apply Checkout’s continuation parameters to every Browser Pay request.
For Checkout, continue the same Operation using its current action identifiers and the appropriate Checkout tool. Neither an interrupted call nor a pending result authorizes creating a second purchase.
Errors
Handle three distinct cases:
There is no universal error body or universal
idempotencyKey for all tools. In particular, a Browser Pay result-report failure means the report needs recovery; it does not mean the merchant payment should be repeated.
If a write times out after returning an Operation ID, retain the ID and read it first. If a Browser Pay credential response is lost before submission, the same checkout-facts retry recovers issuance. If merchant submission already occurred and its result is unclear, use UNKNOWN and resolve that same payment.