Skip to main content
Glama

Bsale MCP by usefulapi

Create client

bsale_create_client

WRITE: create a new customer in Bsale (it is visible to every user of the instance). Give at least a first name or a company. Bsale rejects a second client with the same tax id. POST /v1/clients.json.

Input Schema

NameRequiredDescriptionDefault
cityNo
codeNoTax id (RUT in Chile, RUC in Peru, RFC in Mexico). Validate it first.
noteNo
emailNo
phoneNo
addressNo
companyNo
activityNoGiro / business activity.
districtNoColonia / district (Mexico). Chile and Peru: use municipality.
last_nameNo
first_nameNo
is_foreignerNotrue for a foreign client (Bsale assigns tax id 55555555-5 unless you also pass code).
municipalityNoComuna (Chile) or municipality (Peru). Mexican accounts: use district.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that the new client is visible instance-wide, that a duplicate tax id is rejected, and what the minimum required payload is. These are real operational constraints not available from readOnlyHint/idempotentHint/destructiveHint. It still doesn't mention what is returned (e.g., the new client id) or any auth/rate-limit expectations.

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?

Four tight sentences, front-loaded with the WRITE marker and endpoint. Every sentence carries a constraint; nothing is filler.

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?

For a non-idempotent write with 13 mostly optional params and no output schema, the description supplies the key behavioral facts (visibility, dedup, minimum payload). Only the return value and the idempotency implication of retries are unaddressed.

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 description coverage is only 38% across 13 parameters, so the description should compensate more. It adds the first_name-or-company requirement and ties 'code' to tax-id uniqueness, but leaves email format, phone, address, note, and is_foreigner behavior to the schema.

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?

States a specific verb and resource ('create a new customer in Bsale') plus the underlying endpoint POST /v1/clients.json. An agent can immediately distinguish this from bsale_update_client, bsale_get_client, and bsale_list_clients.

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 'Give at least a first name or a company' rule tells the agent the minimum viable call, and the tax-id uniqueness note warns about failures. However, it never says when to prefer bsale_update_client over creating, or to check bsale_list_clients/bsale_get_client first for duplicates.

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.