Skip to main content
Glama
conekta

Conekta MCP Server

Official
by conekta

create_order

Process payments by creating orders with customer details, line items, shipping information, and checkout options for new or existing customers.

Instructions

Create a new order. Provide customer_info_customer_id for an existing customer, or name/email/phone for a new one.

Args: currency: ISO currency code (e.g., MXN, USD) customer_info_customer_id: Existing Conekta customer ID customer_info_name: Customer name (if not using existing customer) customer_info_email: Customer email (if not using existing customer) customer_info_phone: Customer phone E.164 (if not using existing customer) checkout: Checkout object. Supported types: Integration: {"type":"Integration","allowed_payment_methods":["card"],"name":"Pago"} HostedPayment: {"type":"HostedPayment","allowed_payment_methods":["card"],"name":"Pago","success_url":"https://...","failure_url":"https://..."} line_items: Order line items: [{"name":"Item","unit_price":1000,"quantity":1}] charges: Order charges: [{"payment_method":{"type":"card","token_id":"tok_..."}}] shipping_contact: Shipping address: {"address":{"street1":"Nuevo Leon 254","postal_code":"06100","city":"Ciudad de Mexico","state":"Ciudad de Mexico","country":"MX"}} shipping_lines: Order shipping lines: [{"amount":500,"carrier":"FedEx"}] metadata: Metadata object: {"key":"value"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyYes
customer_info_customer_idNo
customer_info_nameNo
customer_info_emailNo
customer_info_phoneNo
checkoutNo
line_itemsNo
chargesNo
shipping_contactNo
shipping_linesNo
metadataNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It mentions that the tool creates a new order, implying a write operation, but does not cover critical aspects like authentication needs, rate limits, error handling, or what happens on success (e.g., order ID returned). This leaves significant gaps for an agent to understand the tool's behavior.

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?

The description is well-structured with a clear purpose statement followed by an 'Args:' section detailing each parameter. It is appropriately sized for a complex tool, though some sentences could be more concise (e.g., the checkout examples are verbose). Overall, it efficiently conveys necessary information without unnecessary fluff.

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?

Given the complexity (11 parameters, no annotations, but with an output schema), the description is partially complete. It excels in parameter semantics but lacks behavioral context (e.g., side effects, error cases). The presence of an output schema means return values need not be explained, but other critical aspects like when to use versus siblings are missing, making it adequate but with clear gaps.

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

Parameters5/5

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

The schema description coverage is 0%, so the description carries the full burden of explaining parameters. It provides detailed semantics for all 11 parameters, including examples for complex objects like 'checkout,' 'line_items,' and 'shipping_contact.' This adds substantial value beyond the bare schema, fully compensating for the lack of schema descriptions.

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 clearly states the tool's purpose: 'Create a new order.' It specifies the resource (order) and the action (create), which is straightforward. However, it does not explicitly differentiate this from sibling tools like 'create_checkout' or 'create_subscription,' which prevents a perfect score.

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 some usage context by explaining how to handle customer information (existing vs. new), but it does not explicitly state when to use this tool versus alternatives like 'create_checkout' or 'create_subscription.' No exclusions or prerequisites are mentioned, leaving gaps in guidance.

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/conekta/mcp-server'

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