Skip to main content
Glama

askacharge.com — EV charging network

Dar de alta un cliente

askacharge_crear_cliente

Da de alta un cliente y devuelve el creado con su id. NO comprueba duplicados: dos llamadas con el mismo email crean dos clientes, así que mira antes askacharge_listar_clientes. Si no le pasas tariff_group_id, el cliente hereda la tarifa por defecto de la marca. Para autorizarle una tarjeta física, después: askacharge_crear_tag_rfid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNombre del cliente. Es el único obligatorio
emailNoCorreo de contacto, al que se le mandan las facturas
phoneNoTeléfono de contacto
companyNoRazón social, si factura a nombre de una empresa
client_typeNoindividual por defecto; fleet para flotas con factura mensual; community para comunidades
tariff_group_idNoId de un grupo de tarifa que ya exista (askacharge_listar_tarifas)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / client_type
      Added value: +{
      +  "description": "individual por defecto; fleet para flotas con factura mensual; community para comunidades",
      +  "enum": [
      +    "individual",
      +    "fleet",
      +    "community"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / company / description
      Added value: +"Razón social, si factura a nombre de una empresa"
    • addedInput schema / properties / email / description
      Added value: +"Correo de contacto, al que se le mandan las facturas"
    • addedInput schema / properties / name / description
      Added value: +"Nombre del cliente. Es el único obligatorio"
    • addedInput schema / properties / phone / description
      Added value: +"Teléfono de contacto"
    • addedInput schema / properties / tariff_group_id / description
      Added value: +"Id de un grupo de tarifa que ya exista (askacharge_listar_tarifas)"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already show readOnlyHint=false, destructiveHint=false, idempotentHint=false. The description adds valuable behavioral context: it does NOT check duplicates, so repeated calls create multiple clients; it inherits default tariff if tariff_group_id is omitted. This goes beyond the annotations and prevents serious misuse. No contradiction between description and annotations; in fact it reinforces non-idempotency.

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 sentences, each with a distinct purpose: core behavior, duplicate warning, and follow-up routing. Information is front-loaded (creation + return id first), warnings and alternatives follow logically. No fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a creation tool with no output schema, the description explains the return value (created client with id), covers the key side effect (duplicates possible), and provides sibling routing. It also covers the tariff inheritance corner case. Given the tool's complexity (6 params, 1 required) and 100% schema coverage, this is complete.

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 100%, so the schema already documents all six parameters. The description adds semantic value for tariff_group_id by explaining the inheritance behavior, but other parameters (name, email, phone, company, client_type) are already well-described in the schema. Baseline 3 is appropriate because the description complements but does not heavily expand on schema documentation.

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 states a specific verb and resource: 'Da de alta un cliente' (creates a customer) and explicitly mentions returning the created client with its id. It distinguishes from sibling askacharge_crear_tag_rfid (for authorizing cards) and askacharge_crear_cargador/crear_tarifa by focusing solely on client creation. The title reinforces this, and the non-duplicate warning adds a clear behavioral signature.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance: use it to create a client, but first check askacharge_listar_clientes to avoid duplicates, and follow up with askacharge_crear_tag_rfid if card authorization is needed. It also explains when to pass tariff_group_id (to inherit default tariff if omitted). This directly tells an agent when to use this tool vs alternatives.

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.