Skip to main content
Glama

StrucTime : calculateurs et modèles du bâtiment

Marge et coefficient

structime_marge_et_coefficient
Read-onlyIdempotent

À quel prix vendre pour dégager ma marge ? Partez d’un prix d’achat et d’un taux de marque visé. Vous obtenez le prix de vente, la marge en euros, le coefficient et le taux de marge sur le coût. Page : https://structime.com/outils/marge-et-coefficient/

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": {
      "achat": "<achat>",
      "marque": "<marque>"
    },
    "name": "structime_marge_et_coefficient"
  }
}

Input Schema

NameRequiredDescriptionDefault
achatYesPrix d’achat hors taxes · en €
marqueYesTaux de marge visé sur le prix de vente · en %

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds behavior beyond that by enumerating exactly what the calculation produces (prix de vente, marge en euros, coefficient, taux de marge sur le coût), which is valuable given there is no output schema. No contradiction with annotations.

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?

It is short and front-loaded: question, then inputs, then outputs. Every sentence carries information relevant to calling the tool. The trailing page URL is mildly promotional but does provide a reference for the underlying method.

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?

For a two-parameter, read-only calculator with no output schema, the description covers inputs, the computation, and the returned values, which is essentially everything an agent needs. Only edge-case behavior and the distinction from sibling margin tools are left implicit.

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 coverage is 100% and both parameters already carry unit-annotated descriptions ('en €', 'en %'), so the schema does the heavy lifting. The description restates the same inputs without adding syntax, ranges, or edge-case behavior (e.g., what happens with a 0 or >100% brand rate). Baseline 3 applies.

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 uses a concrete verb-and-resource framing: it takes a purchase price and a target brand rate and returns the selling price, margin in euros, coefficient, and cost-based margin rate. That is unambiguous about what the tool computes. It does not name or distinguish itself from siblings such as structime_marge_chantier or structime_seuil_de_rentabilite, which keeps it from a 5.

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?

The opening question ('À quel prix vendre pour dégager ma marge ?') plus 'Partez d'un prix d'achat et d'un taux de marque visé' implies the scenario in which to use it. However, no when-not-to-use guidance or explicit alternative is given, even though adjacent sibling tools deal with margins and break-even.

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.

Resources