Skip to main content
Glama

Request Payment Authorization

request_payment
Idempotent

Authorize a payment before executing it. Get a signed grant or a denial with the violated rule, preventing unauthorized or fraudulent transfers.

Instructions

Authorize a payment action against the active Fidacy mandate. Returns an ALLOW with a signed grant, or a DENY with the violated rule. The downstream executor MUST require the grant. Call this before any payment; never pay without it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payeeYesPayee identifier
amountYesAmount in the mandate currency
purposeYesYour stated reason for this payment, in your own words. It is persisted readably on the tamper-evident audit record (ALLOW and DENY alike) and becomes part of the after-the-fact proof, so write the real reason.
categoryYesPurpose category (must be allowed by the mandate)
currencyYesISO 4217 currency code
invoiceRefNoOptional invoice identity. When set, Fidacy enforces one payment per invoice: a second request for the same invoiceRef is DENIED, at any amount.
idempotencyKeyNoOptional. Your own key for this payment, if you have one (an order id, a job id). Leave it out and Fidacy derives one from the payment itself, which is the safer default: a retry of the SAME payment produces the SAME key, where an invented one would not.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
grantNo
statusYes
messageYes
decisionIdYes
violatedRuleNo
Behavior4/5

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

With annotations providing safety hints (readOnlyHint=false, destructiveHint=false, idempotentHint=true), the description adds behavioral context: returns a signed grant or violated rule, and requires downstream verification. This goes beyond annotations by explaining the ALLOW/DENY outcome and the mandatory grant check. It does not contradict annotations.

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 sentences, front-loaded with the core action, then return behavior, then usage directive. No filler; each sentence adds distinct information.

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?

The description covers the essential behavioral contract (authorize, return ALLOW/DENY, require grant, use before payment) for a 7-parameter tool with an output schema and annotations. It doesn't cover failure modes beyond the DENY rule, but output schema likely covers return specifics, so completeness is good.

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?

All 7 parameters have 100% schema description coverage, so the schema already documents each parameter. The tool description itself does not add parameter-level meaning beyond the schema, so a baseline 3 is appropriate.

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?

The description uses a specific verb ('authorize') and resource ('payment action against the active Fidacy mandate'), and clarifies it returns ALLOW/DENY. It distinguishes from sibling tools like verify_mandate or assess_action by focusing on payment authorization.

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?

The description explicitly states when to call it ('before any payment; never pay without it') and imposes a downstream requirement (MUST require the grant). It does not discuss exclusions or alternative tools when not applicable, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucaslubi/fidacy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server