Skip to main content
Glama

ROKI Connect

Create or look up a synthetic sandbox payment or hosted-fields session

roki_sandbox_try

Runs a synthetic scenario with the public sandbox credential and returns selected fields without checkout links or client secrets. Use roki_validate_request to check custom payloads.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "operation": "<operation>"
    },
    "name": "roki_sandbox_try"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadNo
operationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / operation / description
      Removed value: -"operationId to run, e.g. \"createPayment\", \"getPayment\", \"voidTransaction\"."
    • addedInput schema / properties / operation / enum
      Added value: +[
      +  "createPayment",
      +  "getPayment",
      +  "createSaleSession",
      +  "getSaleSession"
      +]
    • changedInput schema / properties / payload / additionalProperties
      Previous value: -{}New value: +false
    • removedInput schema / properties / payload / description
      Removed value: -"Request body for POST operations, or path values such as {\"id\": 123} / {\"transaction_id\": \"uuid\"}."
    • addedInput schema / properties / payload / properties
      Added value: +{
      +  "amount": {
      +    "description": "Test amount on creation, up to 2 decimal places. Default 5.",
      +    "maximum": 100,
      +    "minimum": 0.01,
      +    "type": "number"
      +  },
      +  "id": {
      +    "description": "For getPayment, use the id created by this session.",
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  "session_id": {
      +    "description": "For getSaleSession, use the session_id created in this MCP session.",
      +    "maxLength": 200,
      +    "pattern": "^ses_test_[A-Za-z0-9_-]+$",
      +    "type": "string"
      +  }
      +}
    • removedInput schema / properties / payload / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
  2. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two useful behavioral facts: it uses the public sandbox credential, and the response is trimmed to selected fields with checkout links and client secrets withheld. It does not say that createPayment/createSaleSession actually persist sandbox state or that the get* operations only retrieve objects created in the same session, which are the most consequential behaviors here.

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

Conciseness4/5

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

Two tight sentences with no filler, and the credential/response-scoping information is front-loaded. The trade-off is that the compression is what leaves the operation set unstated, so brevity costs a little clarity.

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?

A mutating (readOnlyHint=false), open-world tool with a nested object parameter and no output schema needs more than this. The withheld-fields note partially covers the return side, but the four operation modes and their create-then-fetch coupling are absent from the description, leaving the agent to reverse-engineer them from the enum.

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

Parameters2/5

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

Schema description coverage is 0% at the top level, so the description must carry the operation semantics — and it does not. The four enum values (createPayment, getPayment, createSaleSession, getSaleSession) are never explained, and the nested payload object is not mentioned at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb ('Runs') and the notion of a synthetic sandbox scenario with a public credential, but never names the resources involved. The title says 'payment or hosted-fields session' while the description says only 'scenario', so an agent cannot tell from the description alone that it creates or retrieves payments and sale sessions.

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

Usage Guidelines3/5

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

One explicit alternative is given: use roki_validate_request to check custom payloads. That is genuine routing guidance, but there is nothing about when to choose createPayment vs getPayment vs the session operations, and no statement of when not to use this tool (e.g. against live credentials).

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.

Resources