Skip to main content
Glama

ROKI Connect

Validate a ROKI Connect request payload

roki_validate_request
Read-onlyIdempotent

Validate a payload against the official schema WITHOUT sending it, and check the business rules the API enforces. Critical for this API: it ignores unknown fields and returns 201, so a typo produces a misconfigured payment rather than an error. The response names what it dropped in warnings, but by then the payment exists - validating here means it is never created. Always validate before writing or shipping integration code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesThe JSON request body you intend to send.
operationYesoperationId, e.g. "createPayment".

Schema Changelog

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

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare readOnly and idempotent hints, but the description adds crucial behavioral context: the tool does not send the request, the API silently ignores unknown fields with a 201, and the response includes warnings about dropped fields. This goes well beyond the annotations and explains the real-world consequences.

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 front-loaded with the core action, then provides critical context about the API's failure mode, and ends with a directive. Every sentence adds significant value, and it is concise enough to be read quickly.

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

Completeness5/5

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

Despite no output schema, the description explains the return behavior (warnings about dropped fields) and the consequence of not validating. It covers purpose, usage, behavioral details, and the API quirk, making it complete for a tool with only two parameters.

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% with descriptions for both parameters ('operationId' and 'the JSON request body you intend to send'). The description adds the 'without sending' context and mentions business rules, but does not elaborate on parameter formats or additional constraints beyond the schema, so a baseline 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 validates a payload against the official schema and checks business rules without sending it. This distinguishes it from siblings like roki_sandbox_try (which would send) and roki_get_schema (which only retrieves schema).

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?

It explicitly says 'Always validate before writing or shipping integration code' and explains the critical API behavior (ignores unknown fields, returns 201) that makes validation necessary. This provides strong when-to-use guidance and implicitly contrasts with actually sending the request.

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