Skip to main content
Glama

Boncourant

Estimer un site professionnel C5

simulate_pro
Read-onlyIdempotent

Coût annuel TTC par offre chiffrable d'un site pro C5 (3 à 36 kVA, Enedis). Avec curve_file : courbe mesurée, HP/HC si heures_creuses. Aucun gain sans coût actuel.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "puissance_kva": "<puissance_kva>"
    },
    "name": "simulate_pro"
  }
}

Input Schema

NameRequiredDescriptionDefault
curve_fileNoCourbe CSV ChatGPT, 12 mois max.
code_postalNoRequis avec curve_file.
puissance_kvaYesPuissance souscrite C5 en kVA (3 à 36).
heures_creusesNoPlages HC de la facture (heures entières), sinon omettre.
conso_annuelle_kwhNokWh/an, sans courbe.
heures_creuses_eteNoPlages HC d'été si différentes.
cout_actuel_ttc_eur_anNoCoût annuel TTC tout compris actuel, même consommation.

Output Schema

NameRequiredDescriptionDefault
bestNo
noteNo
curveNo
sourcesNoSources publiques datées, à citer.
groundedNo
saving_eurNo
refine_withNoDonnées à proposer à l'utilisateur.
alternativesNo
baseline_basisNo
best_by_optionNo
off_peak_hoursNo
offers_comparedNo
calculation_statusNo
baseline_annual_eurNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / cout_actuel_ttc_eur_an
      Added value: +{
      +  "description": "Coût annuel TTC tout compris actuel, même consommation.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 10000000,
      +  "type": "number"
      +}
    • addedOutput schema / properties / baseline_annual_eur / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / baseline_annual_eur / type
      Removed value: -"null"
    • addedOutput schema / properties / baseline_basis
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / saving_eur / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / saving_eur / type
      Removed value: -"null"
  2. Changed10 schema fields changed
    • addedInput schema / properties / code_postal
      Added value: +{
      +  "description": "Requis avec curve_file.",
      +  "pattern": "^\\d{5}$",
      +  "type": "string"
      +}
    • changedInput schema / properties / conso_annuelle_kwh / description
      Previous value: -"Consommation annuelle du site en kWh."New value: +"kWh/an, sans courbe."
    • addedInput schema / properties / curve_file
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Courbe CSV ChatGPT, 12 mois max.",
      +  "properties": {
      +    "download_url": {
      +      "description": "URL temporaire.",
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "file_id": {
      +      "description": "Identifiant.",
      +      "maxLength": 500,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "file_name": {
      +      "description": "Nom.",
      +      "maxLength": 500,
      +      "type": "string"
      +    },
      +    "mime_type": {
      +      "description": "Type MIME.",
      +      "maxLength": 200,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "download_url",
      +    "file_id"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / heures_creuses
      Added value: +{
      +  "description": "Plages HC de la facture (heures entières), sinon omettre.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "debut": {
      +        "description": "Début.",
      +        "maximum": 23,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "fin": {
      +        "description": "Fin.",
      +        "maximum": 23,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "debut",
      +      "fin"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 4,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / heures_creuses_ete
      Added value: +{
      +  "description": "Plages HC d'été si différentes.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "debut": {
      +        "description": "Début.",
      +        "maximum": 23,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "fin": {
      +        "description": "Fin.",
      +        "maximum": 23,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "debut",
      +      "fin"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 4,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "conso_annuelle_kwh",
      -  "puissance_kva"
      -]New value: +[
      +  "puissance_kva"
      +]
    • addedOutput schema / properties / best_by_option
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
    • addedOutput schema / properties / curve
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
    • addedOutput schema / properties / off_peak_hours
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / refine_with / description
      Previous value: -"Données qui précisent ce résultat, à proposer à l'utilisateur avec where."New value: +"Données à proposer à l'utilisateur."
  3. Changed1 schema field changed
    • addedOutput schema / properties / refine_with
      Added value: +{
      +  "description": "Données qui précisent ce résultat, à proposer à l'utilisateur avec where.",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "data": {
      +        "type": "string"
      +      },
      +      "effect": {
      +        "type": "string"
      +      },
      +      "where": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "data",
      +      "effect",
      +      "where"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Changed3 schema fields changed
    • addedOutput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties
      Added value: +{
      +  "alternatives": {
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "baseline_annual_eur": {
      +    "type": "null"
      +  },
      +  "best": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "calculation_status": {
      +    "type": "string"
      +  },
      +  "grounded": {
      +    "type": "boolean"
      +  },
      +  "note": {
      +    "type": "string"
      +  },
      +  "offers_compared": {
      +    "type": "number"
      +  },
      +  "saving_eur": {
      +    "type": "null"
      +  },
      +  "sources": {
      +    "description": "Sources publiques datées, à citer.",
      +    "items": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "data_as_of": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "note": {
      +          "type": "string"
      +        },
      +        "publisher": {
      +          "type": "string"
      +        },
      +        "title": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "publisher",
      +        "title",
      +        "url",
      +        "data_as_of"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
  5. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover safety and idempotency (readOnly, idempotent, non-destructive), so the description only needs to add outcome context. It contributes two useful behavioral facts: results are limited to offers that can actually be priced, and no savings figure is produced unless a current cost is supplied. It does not explain what happens when neither curve nor annual consumption is provided, nor any pricing assumptions or coverage limits.

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?

Three short sentences, front-loaded with the output and scope, with no filler. The compression is close to the limit of usefulness — phrases like 'Aucun gain sans coût actuel' are telegraphic and require interpretation.

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?

With 7 parameters, two mutually exclusive input modes (measured curve vs annual consumption), nested objects, and an output schema that handles return values, the description covers scope and the main conditional input but omits guidance on choosing between the two consumption modes and on required companions such as the postal code. Reasonably complete for its size, though thin for a simulation with branching inputs.

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 baseline is 3 and the schema already documents every field including the 3-36 kVA bounds and the postal-code requirement alongside `curve_file`. The description adds modest meaning by framing `curve_file` as a measured curve and tying `heures_creuses` to off-peak billing, but says nothing about the `conso_annuelle_kwh` alternative mode or the summer off-peak variant.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete outcome (annual cost incl. tax per priceable offer) for a defined resource (C5 professional site, 3-36 kVA, Enedis), which lets an agent distinguish it from the generic `simulate` and from catalog tools like `pro_catalog`. It stops short of explicitly naming which sibling to use instead for non-C5 or non-professional sites, so differentiation is inferred rather than stated.

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?

Gives implicit selection rules: supply `curve_file` when a measured load curve is available, add `heures_creuses` for peak/off-peak, and omit the current-cost parameter if no savings comparison is wanted. It never states the alternative path (annual kWh without a curve), nor when to prefer `simulate` or `pro_catalog`, leaving the agent to infer mode selection from the schema.

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.