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 suma pvpc_margin al PVPC (solo España), market_margin suma...

SERVERAskacharge SOURCEjavierojan/askacharge-mcp
Low RISK CLASS
Category Other
Parameters 82 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/askacharge-mcp/askacharge-crear-tarifa.md

What askacharge_crear_tarifa does on Askacharge

AI agents call askacharge_crear_tarifa as a supporting operation in Askacharge workflows.

ParameterTypeRequiredDescription
name string Yes Nombre del grupo, el que se ve en el panel
periods array — Solo tou: franjas {period_type: valley|flat|peak, price_per_kwh, hour_start 'HH:MM', hour_end 'HH:MM' (igual = todo el día), weekdays '12345' (1=lunes; vacío =
is_default boolean — Si es true, pasa a ser la tarifa por defecto de la marca y la anterior deja de serlo
pvpc_margin number — Margen por kWh sobre el PVPC (pvpc_margin), el mercado diario (market_margin) o el coste de la luz de la marca (cost_plus)
billing_mode string Yes Cómo se cobra la sesión; decide cuál de los precios de abajo se usa
price_per_kwh number — € por kWh entregado (modos per_kwh y combined)
price_per_hour number — € por hora conectado (modos per_hour y combined)
price_per_session number — € fijos por sesión (modo per_session)

Parameters from the server's own tool schema.

Why askacharge_crear_tarifa is rated Low

Without any rule in front of it, every call an agent makes to askacharge_crear_tarifa happens silently: no trail, no cap, no way to know it misbehaved until something breaks downstream.

Questions about askacharge_crear_tarifa

What does the askacharge_crear_tarifa tool do? +

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 suma pvpc_margin al PVPC (solo España), market_margin suma pvpc_margin al mercado diario de la zona de la marca (solo zonas con precio y marcas que cobran en EUR; si no, 400), tou cobra por franjas horarias que defines en periods (hora local de la marca; price_per_kwh es el precio de las horas sin franja), cost_plus suma pvpc_margin a lo que le cuesta la luz a la marca en cada momento (exige haberlo configurado) y free no cobra nada. Los modos que cambian con la hora cobran cada kWh a su precio. CUIDADO: con is_default en true, la que fuera tarifa por defecto deja de serlo. Para ver las que ya existen, askacharge_listar_tarifas. It is categorised as a Other tool in the Askacharge MCP Server, which means it performs auxiliary operations.

What parameters does askacharge_crear_tarifa accept? +

askacharge_crear_tarifa accepts 8 parameters: name, periods, is_default, pvpc_margin, billing_mode, price_per_kwh, price_per_hour, price_per_session. Required: name, billing_mode. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on askacharge_crear_tarifa? +

Register the Askacharge MCP server in PolicyLayer and add a rule for askacharge_crear_tarifa: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Askacharge. Nothing to install.

What risk level is askacharge_crear_tarifa? +

askacharge_crear_tarifa is a Other tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit askacharge_crear_tarifa? +

Yes. Add a rate_limit block to the askacharge_crear_tarifa rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block askacharge_crear_tarifa completely? +

Set action: deny in the PolicyLayer policy for askacharge_crear_tarifa. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides askacharge_crear_tarifa? +

askacharge_crear_tarifa is provided by the Askacharge MCP server (javierojan/askacharge-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Askacharge, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Askacharge's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.