Skip to main content
Glama

askacharge.com — EV charging network

Ver cómo va un comando lanzado

askacharge_estado_comando
Read-onlyIdempotent

Estado de un comando OCPP por su job_id (lo devuelve cada herramienta que manda un comando). Un comando tiene dos tiempos: la respuesta inmediata es solo el acuse del cargador; el efecto real llega después. Estados: 'acked' = aceptado y esperando el efecto (expected_event dice cuál: session.started tras arrancar, charger.online tras reiniciar, connector.status tras cambiar disponibilidad); 'confirmed' = el efecto llegó (en event); 'timeout' = no llegó en 5-10 minutos, algo falló en el cargador; 'rejected' = el cargador dijo que no; 'failed' = ni se pudo enviar. Sin job_id lista los últimos comandos de la marca. Úsala en vez de repetir el comando: repetirlo es arrancar dos cargas o reiniciar dos veces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idNoEl job_id devuelto por el comando. Opcional: sin él, los últimos 50
charge_point_idNoFiltrar la lista por cargador (solo sin job_id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint), the description discloses the full state machine (acked, confirmed, timeout, rejected, failed), the timeout window (5-10 minutes), and the meaning of expected_event. This is critical behavioral context that an agent needs to interpret results correctly and is not present in the annotations alone.

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 every sentence contributes: it front-loads the purpose, then explains the states and usage guidance. There is no redundant or filler text; it is appropriately sized for the complexity of the tool.

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?

Given the absence of an output schema, the description thoroughly explains what the tool returns (states, events, and the two-phase nature). It also covers the optional behavior without job_id and the rationale for using it instead of re-sending commands, making it complete for an agent to call and interpret the result correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant meaning to job_id by explaining it is returned by every command tool and that omitting it lists recent commands. It also clarifies the concept of expected_event. While charge_point_id is not explicitly mentioned in the description, the schema already covers it, and the description goes beyond the schema's simple parameter 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 clearly states the tool's purpose: checking the status of an OCPP command by job_id, and explains the two-phase nature of command execution. It differentiates itself from sibling command-issuing tools (e.g., arrancar_carga, reiniciar_cargador) by focusing on status retrieval rather than sending a command. The title 'Ver cómo va un comando lanzado' reinforces the specific verb and resource.

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 provides explicit usage guidance: 'Úsala en vez de repetir el comando' (use it instead of repeating the command) and warns that repeating would start two charges or restart twice. It also explains when to omit job_id (to list recent commands), giving clear conditions for invocation versus 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.