Skip to main content
Glama
NovaPay

novapay-mcp

Official
by NovaPay

Create checkout session

create_checkout_session

Create a NovaPay checkout session to collect payment and Nova Poshta delivery details. Returns a session ID for generating a customer payment URL.

Instructions

Create a NovaPay Checkout session (payment + Nova Poshta delivery collection). Returns the session id. To get a payment URL for the customer, follow up with add_checkout_payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deliveryNoDelivery details object
fail_urlNo
metadataNo
success_urlNo
callback_urlYesMerchant URL for postbacks (required for checkout)
client_phoneNoPayer phone, e.g. +380501112233
create_express_waybillNoCreate a Nova Poshta express waybill
Behavior4/5

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

With no annotations, the description carries the burden. It discloses that the tool returns the session id and that the payment URL requires a separate call, which is key behavioral information. It stops short of stating prerequisites, side effects, or idempotency, but the disclosed workflow is meaningful.

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?

Three short sentences are front-loaded with the purpose, return value, and next step. Every sentence adds value without redundant elaboration.

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?

Given the tool has no output schema or annotations, the description covers the essential aspects: what it creates, what it returns, and the required follow-up. It doesn't explain optional parameters or prerequisites, but for a creation tool the core information is present.

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 57%, which the description does not augment. The description adds no meaning for parameters like delivery, metadata, or URLs beyond the schema, so it relies on its baseline.

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 'Create a NovaPay Checkout session' with the scope '(payment + Nova Poshta delivery collection)'. It also distinguishes from sibling tools by noting the follow-up with add_checkout_payment, which sets this apart from creating acquiring 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?

The description provides context that this tool is for payment and delivery collection, and instructs to follow up with add_checkout_payment for the payment URL. However, it does not explicitly mention when to use this alternative to create_acquiring_session or any exclusions, leaving usage partially implied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NovaPay/novapay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server