Skip to main content
Glama

Peru Payments (Mercado Pago — Yape / PagoEfectivo)

Server Details

Peru payments for AI agents — Yape / PagoEfectivo via Mercado Pago. Never holds funds.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.2/5 across 2 of 2 tools scored.

Server CoherenceA
Disambiguation5/5

The two tools have clearly distinct purposes: one creates a payment link, the other queries its status. There is no overlap in functionality, making selection unambiguous.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern: 'create_payment_link' and 'query_payment_status'. The naming is predictable and clear.

Tool Count3/5

With only 2 tools, the server is minimal but covers the core flow of creating and checking payments. However, for a payment domain, this feels thin, and additional tools for refunds or cancellations would be expected.

Completeness2/5

The tool set is missing essential payment operations like refunds, cancellations, or support for multiple payment methods beyond a single link. While the basic flow works, agents cannot handle common post-payment scenarios.

Available Tools

3 tools
query_payment_statusA
Read-only
Inspect

Check whether a Peru payment (created by create_payment_link) has been paid. Queries Mercado Pago directly — pull-based, no webhook needed. paid=true when status is PAID (Mercado Pago APPROVED).

ParametersJSON Schema
NameRequiredDescriptionDefault
external_referenceYesThe external_reference returned by create_payment_link
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description adds that it queries Mercado Pago directly, defines the mapping of paid=true to Mercado Pago APPROVED status, and confirms pull-based behavior, providing rich behavioral context.

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 three concise sentences that front-load the purpose, then explain the method and output mapping, with zero wasted words.

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

Completeness3/5

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

While the description explains the paid field boolean mapping, it lacks details on full response structure, error handling, or states other than PAID, which is incomplete for a tool with no output schema.

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?

The schema already describes the single parameter with 100% coverage, and the tool description does not add additional meaning beyond restating that it is the reference from create_payment_link, so baseline score of 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 clearly states the tool checks whether a Peru payment created by create_payment_link has been paid, with a specific verb and resource that distinguish it from the sibling tool create_payment_link.

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 this is for checking payments created by create_payment_link and that it's pull-based with no webhook needed, providing clear context for when to use it, though it doesn't explicitly list when not to use.

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

refund_paymentA
Destructive
Inspect

Refund a paid payment (created by create_payment_link). Full refund by default; pass amount for a partial refund where supported. Refunds respect the same owner policy guardrails (x-agentpay-max-amount) as payments — the amount is checked before anything is sent to the gateway.

ParametersJSON Schema
NameRequiredDescriptionDefault
amountNoOptional partial-refund amount in the local currency major unit. Omit for a full refund.
external_referenceYesThe external_reference of the paid payment (same id used by query_payment_status)
Behavior4/5

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

Annotations indicate destructive hint (true) and readOnly false. The description adds context about default full refund, partial refund support, and guardrail checks on amount. This provides behavioral detail beyond annotations without 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 three sentences, front-loaded with purpose, then default behavior, then guardrails. Every sentence is clear and purposeful with no wasted words.

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

Completeness3/5

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

For a simple tool with no output schema, the description covers purpose, usage, and behavior well. However, it omits information about the return value (e.g., refund confirmation) and error conditions, leaving minor gaps for an agent.

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

Parameters4/5

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

Schema coverage is 100% with clear descriptions for both parameters. The description reinforces this by explaining 'pass amount for a partial refund' and adds that amount is in 'local currency major unit', providing extra semantic value beyond the schema.

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 clearly states 'Refund a paid payment (created by create_payment_link).' It specifies the verb (refund), resource (paid payment), and context (created by specific tool). This distinguishes it from siblings create_payment_link and query_payment_status.

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 implies when to use (refund payments created by create_payment_link) and notes partial refund behavior and policy guardrails. However, it does not explicitly state when not to use or list alternatives, though siblings make the use case clear.

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

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources