Skip to main content
Glama

ROKI Connect

Check a ROKI payment response against the request that produced it

roki_check_result
Read-onlyIdempotent

Compare the payment the API returned against the body you sent, and report anything that does not match. Every other check here looks at what you SEND. This one exists for the errors that survive that: the field name was right and the VALUE was wrong. The API answers 201, warnings comes back empty because there was nothing to warn about, and the merchant charged something else. Catches the amount off by a factor of 100, fee pass-through asked for and returned as zero, tax that was not applied, expires_at already in the past because it was sent as UTC instead of Honduras time, a total that does not add up, and a transaction_id parsed as a number. Run it after every createPayment while you are building, and in your own tests afterwards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sentYesThe JSON request body you sent to POST /payments.
receivedYesThe payment object the API returned. Paste the response as-is.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already indicate read-only, non-destructive, and idempotent behavior. The description adds extra behavioral context by listing specific error scenarios (e.g., amount off by factor of 100, missing tax, invalid date format) and explaining that the API may return 201 with empty warnings when there are no issues. This goes beyond the annotation hints without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is overly verbose, with lengthy enumerations of error cases and repetitive phrasing (e.g., multiple clauses about mismatches). It is not front-loaded; while the first sentence states the core action, the subsequent details drag on and could be streamlined. A more concise version would improve clarity and maintainability.

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?

The description covers a wide range of potential mismatches and even mentions a specific HTTP status code (201), but it omits a clear description of the tool's return value or output format. Since there is no output schema, specifying whether it returns a list, a boolean, or a report would be important for completeness. The description is partially complete but leaves this key aspect ambiguous.

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?

The schema includes descriptions for both parameters, so coverage is high. The tool description reinforces the meaning by referring to them as 'the body you sent' and 'the payment the API returned,' clarifying the expected roles. It does not add new constraints but provides useful context that ties the parameters to the comparison logic.

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's purpose: comparing the payment response against the request body and reporting mismatches. It also distinguishes this check from others by noting that it focuses on the response side, unlike other checks that focus on what is sent.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use the tool: 'Run it after every createPayment while you are building, and in your own tests afterwards.' It also differentiates from sibling tools by explaining that other checks look at what you SEND, while this one checks the response for errors that survive.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose, from searching docs to validating requests to verifying webhook signatures. Even similarly named tools like roki_get_integration_example and roki_scaffold_integration are differentiated by 'complete runnable' vs 'skeleton'.

Naming Consistency4/5

Tools mostly follow a roki_verb_noun pattern (get, list, search, validate, verify), but a few deviate with noun-only names like roki_status and roki_sandbox_info. The prefix and clear verbs make the pattern predictable overall.

Tool Count4/5

18 tools is on the heavy side, but each serves a distinct role in the integration workflow covered by this server. The count is justified given the breadth of documentation, validation, sandbox, and example generation features.

Completeness5/5

The tool surface covers the full lifecycle of an integration: discovery (search_docs, list_operations), learning (guides, examples, schemas), validation (validate_request), sandbox testing (sandbox_try), verification (verify_webhook_signature), and post-integration auditing. No obvious gaps for the server's stated purpose.

Resources