Skip to main content
Glama
theYahia

retailcrm-mcp

by theYahia

order_payment_create

Record a payment against an order by specifying amount, payment type, status, and timestamp. Returns success confirmation and payment ID.

Instructions

Record a payment against an order (amount, type, status, paid_at). Returns {success, id}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoSite (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites).
typeYesPayment type code (see list_payment_types)
amountYesPayment amount
statusNoPayment status code (e.g. 'paid')
paid_atNoPaid timestamp 'YYYY-MM-DD HH:MM:SS'
order_idNoOrder RetailCRM ID the payment belongs to
order_external_idNoOrder externalId (alternative to order_id)
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, indicating a mutation operation. The description adds the return format but not side effects, idempotency, or error conditions. Minimal additional behavioral context beyond annotations.

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?

Single clear sentence with no wasted words. Perfectly concise and front-loaded.

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 7 parameters, no output schema, and simple annotations, the description covers the basic purpose and return but lacks guidance on order identifier selection (order_id vs order_external_id) and required field interpretation beyond the schema.

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 all 7 parameters. The description adds a concise list of key parameters but no deeper semantics. 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?

Clearly states the action (record a payment against an order), lists key parameters (amount, type, status, paid_at), and describes the return value ({success, id}). Distinguishes from sibling tools like order_payment_edit and order_payment_delete.

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

Usage Guidelines2/5

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

Does not provide explicit guidance on when to use this tool versus alternatives like order_payment_edit or order_payment_delete. No mention of prerequisites or conditions for use.

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/theYahia/retailcrm-mcp'

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