Skip to main content
Glama

Boncourant

Conseiller un renouvellement professionnel

renewal_advisor
Read-onlyIdempotent

Conseil de renouvellement B2B : préavis, courbe EEX et catalogue C5 ; dates seules : analyze_renewal_terms. Prix C4 sur devis. Sans offre livrée comparable, ni part à fixer ni gain.

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": {
      "evaluation_date": "<evaluation_date>",
      "current_locked_supply_eur_mwh": "<current_locked_supply_eur_mwh>",
      "segment": "<segment>"
    },
    "name": "renewal_advisor"
  }
}

Input Schema

NameRequiredDescriptionDefault
segmentYesClasse de raccordement réseau, distincte du profil Enedis d’annualisation.
end_dateNoÉchéance contractuelle YYYY-MM-DD ; null si non documentée.
structureNoStructure tarifaire du contrat ; null si inconnue.
auto_renewalNoReconduction tacite confirmée par le contrat ; null si inconnue.
pricing_typeNoType de prix du contrat ; null si inconnu, jamais inféré.
budget_eur_mwhNoBudget cible HT fourniture en €/MWh ; null si absent.
ceiling_eur_mwhNoPlafond HT fourniture en €/MWh ; null si absent.
evaluation_dateYesDate d’évaluation YYYY-MM-DD, pas la date d’effet du contrat.
locked_fractionNoPart du volume déjà verrouillée.
notice_period_daysNoPréavis contractuel en jours ; null si non documenté.
annual_consumption_mwhNoConsommation annuelle en MWh ; null si inconnue.
current_locked_supply_eur_mwhYesPrix actuel verrouillé HT fourniture en €/MWh, hors taxes et réseau.

Output Schema

NameRequiredDescriptionDefault
resultNo
statusNo
sourcesNoSources publiques datées, à citer.
warningsNo
provenanceNo
intermediatesNo
recommendationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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: +{
      +  "intermediates": {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  "provenance": {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  "recommendation": {
      +    "type": "string"
      +  },
      +  "result": {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  "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"
      +  },
      +  "status": {
      +    "type": "string"
      +  },
      +  "warnings": {
      +    "items": {},
      +    "type": "array"
      +  }
      +}
  2. Changed5 schema fields changed
    • changedInput schema / properties / evaluation_date / description
      Previous value: -"Date civile d’évaluation YYYY-MM-DD ; ne remplace pas la date d’effet du contrat."New value: +"Date d’évaluation YYYY-MM-DD, pas la date d’effet du contrat."
    • changedInput schema / properties / locked_fraction / description
      Previous value: -"Part déjà verrouillée du volume, entre 0 et 1."New value: +"Part du volume déjà verrouillée."
    • changedInput schema / properties / pricing_type / description
      Previous value: -"Type de prix canonique issu du contrat ; null si inconnu, jamais inféré ici."New value: +"Type de prix du contrat ; null si inconnu, jamais inféré."
    • changedInput schema / properties / segment / description
      Previous value: -"Classe de raccordement réseau C5 (BT ≤ 36 kVA) ou C4 (BT > 36 et ≤ 250 kVA) ; distincte de l’audience documentaire et du profil Enedis d’annualisation."New value: +"Classe de raccordement réseau, distincte du profil Enedis d’annualisation."
    • changedInput schema / properties / structure / description
      Previous value: -"Structure tarifaire du contrat, distincte du segment de raccordement ; null si inconnue."New value: +"Structure tarifaire du contrat ; null si inconnue."
  3. Changed47 schema fields changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / annual_consumption_mwh / anyOf
      Added value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 10000000,
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / annual_consumption_mwh / default
      Added value: +null
    • addedInput schema / properties / annual_consumption_mwh / description
      Added value: +"Consommation annuelle en MWh ; null si inconnue."
    • removedInput schema / properties / annual_consumption_mwh / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / annual_consumption_mwh / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedInput schema / properties / auto_renewal / anyOf
      Added value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / auto_renewal / default
      Added value: +null
    • addedInput schema / properties / auto_renewal / description
      Added value: +"Reconduction tacite confirmée par le contrat ; null si inconnue."
    • removedInput schema / properties / auto_renewal / type
      Removed value: -[
      -  "boolean",
      -  "null"
      -]
    • addedInput schema / properties / budget_eur_mwh / anyOf
      Added value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 10000,
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / budget_eur_mwh / default
      Added value: +null
    • addedInput schema / properties / budget_eur_mwh / description
      Added value: +"Budget cible HT fourniture en €/MWh ; null si absent."
    • removedInput schema / properties / budget_eur_mwh / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / budget_eur_mwh / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedInput schema / properties / ceiling_eur_mwh / anyOf
      Added value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 10000,
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / ceiling_eur_mwh / default
      Added value: +null
    • addedInput schema / properties / ceiling_eur_mwh / description
      Added value: +"Plafond HT fourniture en €/MWh ; null si absent."
    • removedInput schema / properties / ceiling_eur_mwh / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / ceiling_eur_mwh / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • changedInput schema / properties / current_locked_supply_eur_mwh / description
      Previous value: -"Prix actuel HT fourniture, en €/MWh"New value: +"Prix actuel verrouillé HT fourniture en €/MWh, hors taxes et réseau."
    • addedInput schema / properties / current_locked_supply_eur_mwh / maximum
      Added value: +10000
    • addedInput schema / properties / end_date / anyOf
      Added value: +[
      +  {
      +    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / end_date / default
      Added value: +null
    • addedInput schema / properties / end_date / description
      Added value: +"Échéance contractuelle YYYY-MM-DD ; null si non documentée."
    • removedInput schema / properties / end_date / format
      Removed value: -"date"
    • removedInput schema / properties / end_date / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / properties / evaluation_date / description
      Added value: +"Date civile d’évaluation YYYY-MM-DD ; ne remplace pas la date d’effet du contrat."
    • removedInput schema / properties / evaluation_date / format
      Removed value: -"date"
    • addedInput schema / properties / evaluation_date / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • addedInput schema / properties / locked_fraction / description
      Added value: +"Part déjà verrouillée du volume, entre 0 et 1."
    • addedInput schema / properties / notice_period_days / anyOf
      Added value: +[
      +  {
      +    "maximum": 2000,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / notice_period_days / default
      Added value: +null
    • addedInput schema / properties / notice_period_days / description
      Added value: +"Préavis contractuel en jours ; null si non documenté."
    • removedInput schema / properties / notice_period_days / minimum
      Removed value: -0
    • removedInput schema / properties / notice_period_days / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedInput schema / properties / pricing_type / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "fixed",
      +      "market_indexed",
      +      "spot_indexed",
      +      "trve_linked",
      +      "arenh_reference"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / pricing_type / default
      Added value: +null
    • addedInput schema / properties / pricing_type / description
      Added value: +"Type de prix canonique issu du contrat ; null si inconnu, jamais inféré ici."
    • removedInput schema / properties / pricing_type / enum
      Removed value: -[
      -  "fixed",
      -  "market_indexed",
      -  "spot_indexed",
      -  "trve_linked",
      -  "arenh_reference",
      -  null
      -]
    • removedInput schema / properties / pricing_type / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / properties / segment / description
      Added value: +"Classe de raccordement réseau C5 (BT ≤ 36 kVA) ou C4 (BT > 36 et ≤ 250 kVA) ; distincte de l’audience documentaire et du profil Enedis d’annualisation."
    • addedInput schema / properties / structure / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "base",
      +      "hp_hc",
      +      "hph_hch_hpe_hce"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / structure / default
      Added value: +null
    • addedInput schema / properties / structure / description
      Added value: +"Structure tarifaire du contrat, distincte du segment de raccordement ; null si inconnue."
    • removedInput schema / properties / structure / enum
      Removed value: -[
      -  "base",
      -  "hp_hc",
      -  "hph_hch_hpe_hce",
      -  null
      -]
    • removedInput schema / properties / structure / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the bar is lower. The description still adds real behavioral context: C4 cases are handled by quote rather than computed, and without a comparable delivered offer the tool returns neither a share to fix nor a gain. That limitation on output is exactly the kind of thing annotations cannot convey, though the phrasing is compressed enough to be ambiguous.

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?

Every clause carries information and the sibling routing is front-loaded after the purpose statement. The semicolon-chained fragments are dense and require re-reading, but there is no filler or redundancy.

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 an output schema present and annotations covering safety, the description only needs to convey scope, limits and alternatives, which it does. The one gap is that it does not hint at what minimum inputs make the advice meaningful (locked price, segment, evaluation date), though those are required in the schema.

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% across 12 parameters, including the segment enum and the evaluation_date-vs-end_date distinction, so the schema carries the parameter burden. The description's only parameter-adjacent contribution is clarifying that the C4 segment yields a quote, which is marginal. Baseline 3 is appropriate.

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?

The description states a specific resource ('Conseil de renouvellement B2B') and enumerates the levers it works on (préavis, courbe EEX, catalogue C5), which is far more than a restatement of the name. It also marks its boundary with the sibling analyze_renewal_terms. The telegraphic phrasing makes it slightly harder to parse than a full sentence, but the purpose is discernible.

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 an explicit routing rule: if you only have dates, use analyze_renewal_terms instead. It also signals a scope exclusion ('Prix C4 sur devis'), so the agent knows not to expect a C4 price from this tool. No other alternatives or prerequisites are named, which keeps it below a 5.

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.