Skip to main content
Glama

PayPing: create customer

payping_create_customer
Destructive

Creates a new PayPing customer from provided details and returns the customer code needed for invoices. Confirm the customer’s information before saving.

Instructions

Save a new customer; returns its code (needed for invoices). Confirm details with the user first.

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": {
      "first_name": "<first_name>",
      "last_name": "<last_name>"
    },
    "name": "payping_create_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoNoPrivate note.
emailNo
phoneNoe.g. 09121234567.
last_nameYes
first_nameYes
is_businessNoCompany (legal person).
national_idNoNational or economic code.
business_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.0
    • changedInput schema / properties / is_business / description
      Previous value: -"True for a company (legal person)."New value: +"Company (legal person)."
    • changedInput schema / properties / national_id / description
      Previous value: -"National code or economic code."New value: +"National or economic code."
    • changedInput schema / properties / phone / description
      Previous value: -"Mobile number, e.g. 09121234567."New value: +"e.g. 09121234567."
  2. Changed10 schema fields changedv0.2.0
    • removedInput schema / properties / business_name / title
      Removed value: -"Business Name"
    • removedInput schema / properties / email / title
      Removed value: -"Email"
    • removedInput schema / properties / first_name / title
      Removed value: -"First Name"
    • removedInput schema / properties / is_business / title
      Removed value: -"Is Business"
    • removedInput schema / properties / last_name / title
      Removed value: -"Last Name"
    • removedInput schema / properties / memo / title
      Removed value: -"Memo"
    • removedInput schema / properties / national_id / title
      Removed value: -"National Id"
    • removedInput schema / properties / phone / title
      Removed value: -"Phone"
    • removedInput schema / title
      Removed value: -"payping_create_customerArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "payping_create_customerDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already flag a non-idempotent, open-world write, and the description adds two things they don't: the returned `code` and its use for invoices (important since there is no output schema), and a user-confirmation step before writing. It stops short of saying what happens on duplicate customers or what errors look like.

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?

A single compact sentence with the action, the return value, and the safety step front-loaded. Nothing is padded or redundant.

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?

The return value and confirmation requirement cover the most important gaps for a no-output-schema create tool. For an 8-parameter write with half the schema undocumented, it should still say which optional fields matter and how duplicates are handled.

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 only 50% across 8 parameters, and the description mentions none of them. It does not explain the required first_name/last_name, the business-vs-individual distinction via is_business/business_name, or the national_id/economic-code field, so the uncovered half stays opaque.

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?

"Save a new customer" gives a specific verb and resource, and the mention of the returned `code` clarifies the outcome. It implicitly distinguishes itself from payping_get_customer and payping_list_customers, but never names them.

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?

"Confirm details with the user first" is a real procedural guideline for a mutation tool. However, it gives no guidance on checking whether the customer already exists via payping_list_customers/payping_get_customer, or when a business customer (is_business) is appropriate instead.

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