Skip to main content
Glama

Checkout requirements

info_checkout
Read-onlyIdempotent

Returns the active online payment methods (use id as metodePembayaran; an empty list means online payment is temporarily unavailable), the exact consent statement and device requirements the user must accept, the maximum quantity and the order expiry.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "info_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
bahasaNoLabel language: id (Indonesian, default) or en.

Output Schema

NameRequiredDescriptionDefault
buatPesananNo
persetujuanYes
jumlahMaksimalNo
kedaluwarsaJamNo
metodePembayaranYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: an empty payment-method list means online payment is temporarily unavailable, and the returned consent statement and device requirements are things the user must actually accept — both are non-obvious semantics an agent needs.

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?

One dense sentence, front-loaded with the primary return value (payment methods) and the critical empty-list caveat, then the remaining payloads. It is efficient with no filler, though the parenthetical nesting makes it slightly harder to scan than a short bulleted structure would.

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?

An output schema exists, so return-value shapes need not be explained, and the description still covers the one return case that matters (empty list = unavailable). For a zero-required-parameter read tool with full annotation coverage, the only real gap is the absence of explicit when-to-call guidance relative to buat_pesanan.

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?

There is a single optional parameter (`bahasa`) with 100% schema description coverage and an enum, so the schema fully documents it. The description says nothing about the language parameter or its default, adding no meaning beyond the schema — baseline 3 applies.

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

Purpose4/5

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

The description uses a specific verb ('Returns') and enumerates the exact resources returned: active online payment methods, the consent statement, device requirements, maximum quantity, and order expiry. This makes the tool's scope unmistakable, though it never names a sibling (e.g. cek_perangkat or buat_pesanan) to contrast against, so differentiation is inferred rather than stated.

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?

Usage is only implied: the enumerated consent/device/quantity data suggests this is a pre-checkout gate to call before buat_pesanan, but the description never says when to call it or when not to. The one explicit instruction ('use `id` as `metodePembayaran`') is a downstream data-mapping hint rather than tool-selection guidance.

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