Skip to main content
Glama

freebox_get_stats

Retrieve historical Freebox performance data—bandwidth, temperature, CPU, DSL, or switch-port stats—for a chosen time range.

Instructions

Retourne des statistiques historiques (débit, températures, CPU) sur une période donnée.

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": {
      "db": "<db>",
      "fields": "<fields>"
    },
    "name": "freebox_get_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
dbYesBase de données : net (débit), temp (températures), dsl (ADSL/fibre), switch (ports ethernet)
fieldsYesChamps à récupérer. Pour net: [bw_up, bw_down]. Pour temp: [cpum, cpub, sw, hdd]. Pour dsl: [rate_up, rate_down, snr_up, snr_down].
date_endNoTimestamp Unix de fin (optionnel, défaut: maintenant)
precisionNoPrécision en secondes (optionnel)
date_startNoTimestamp Unix de début (optionnel, défaut: 1h avant)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; "Retourne" plus the read-oriented noun "statistiques" makes clear this is a non-mutating query, which is useful. However it says nothing about permissions, default time window (the schema says 1h back), rate limits, or the shape of the returned series.

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?

A single well-formed sentence with no filler, front-loaded with the core action and immediately qualifying the scope as historical. It is arguably too short for the parameter space, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter tool with full schema coverage and no output schema, the description covers the purpose and rough return content, which is minimally sufficient. It stops short of explaining how the db choice constrains valid fields, what the returned series look like, or when a more specialized sibling is preferable.

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 enum values, field lists, and timestamp defaults are already fully documented in structured data. The description only adds the notion that the parameters jointly define a time period, which the schema already conveys via date_start/date_end defaults.

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 gives a specific verb and resource ("Retourne des statistiques historiques") and names the data families covered (débit, températures, CPU) plus the time-scope constraint. It does not distinguish this generic stats tool from narrower siblings like freebox_get_download_stats or freebox_get_switch_port_stats, leaving the agent to guess which is the right entry point.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus the more specific per-domain stats siblings, and no prerequisites or exclusions. The only implicit guidance comes from the word "historiques" and the "période donnée" phrasing, which the agent must interpret itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools