Skip to main content
Glama

askacharge.com — EV charging network

Crear un grupo de tarifa

askacharge_crear_tarifa

Crea un grupo de tarifa y devuelve el grupo creado con su id. Rellena solo el precio del modo elegido: per_kwh usa price_per_kwh, per_hour usa price_per_hour, per_session usa price_per_session, combined suma los de kWh y hora, pvpc_margin aplica pvpc_margin sobre el precio horario del mercado y free no cobra nada. CUIDADO: con is_default en true, la que fuera tarifa por defecto deja de serlo. Para ver las que ya existen, askacharge_listar_tarifas.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNombre del grupo, el que se ve en el panel
is_defaultNoSi es true, pasa a ser la tarifa por defecto de la marca y la anterior deja de serlo
pvpc_marginNoMargen sobre el precio PVPC de cada hora
billing_modeYesCómo se cobra la sesión; decide cuál de los precios de abajo se usa
price_per_kwhNo€ por kWh entregado (modos per_kwh y combined)
price_per_hourNo€ por hora conectado (modos per_hour y combined)
price_per_sessionNo€ fijos por sesión (modo per_session)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / billing_mode / description
      Added value: +"Cómo se cobra la sesión; decide cuál de los precios de abajo se usa"
    • addedInput schema / properties / is_default / description
      Added value: +"Si es true, pasa a ser la tarifa por defecto de la marca y la anterior deja de serlo"
    • addedInput schema / properties / name / description
      Added value: +"Nombre del grupo, el que se ve en el panel"
    • addedInput schema / properties / price_per_hour / description
      Added value: +"€ por hora conectado (modos per_hour y combined)"
    • addedInput schema / properties / price_per_kwh / description
      Added value: +"€ por kWh entregado (modos per_kwh y combined)"
    • addedInput schema / properties / price_per_session / description
      Added value: +"€ fijos por sesión (modo per_session)"
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

The description adds important behavioral context beyond annotations by warning that setting is_default to true displaces the previous default tariff. It also states that the tool returns the created group with its id. While it does not cover authentication, rate limits, or rollback, no annotation contradiction exists and the key side effect is disclosed.

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?

The description is dense but efficiently organized: main action and return value first, mode-to-price mapping second, and the cautionary side effect last. Every sentence earns its place, and there is no redundant or filler content.

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 tool with 7 parameters and no output schema, the description is complete enough for correct invocation. It covers the purpose, return contract, per-mode parameter selection, the default-tariff side effect, and directs the agent to the relevant listing tool. No critical usage detail appears to be missing.

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?

Although schema coverage is 100%, the description adds decisive value by mapping each billing_mode to its relevant price field and by explaining combined, pvpc_margin, and free behavior. The instruction to fill only the price of the chosen mode prevents invalid combinations. This goes well beyond the schema's enum descriptions.

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 opens with 'Crea un grupo de tarifa y devuelve el grupo creado con su id', stating a clear verb, resource, and return value. It distinguishes the tool from siblings such as askacharge_listar_tarifas and the other crear_* tools by specifying exactly what entity is created.

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

Usage Guidelines4/5

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

It gives concrete usage guidance: 'Rellena solo el precio del modo elegido' and enumerates which price parameter belongs to each billing_mode. It also points to askacharge_listar_tarifas for viewing existing tariffs. It lacks an explicit 'when not to use' statement, but the intended use is unambiguous.

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.