Skip to main content
Glama
freemobile-conso-mcp

freemobile-conso-mcp

by dorfer-tech

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FREEMOBILE_PASSWORDYesYour Free Mobile account password.
FREEMOBILE_USERNAMEYesYour Free Mobile identifiant: the 8-digit number you use at mobile.free.fr/account.
FREEMOBILE_CACHE_TTLNoHow many seconds to cache a scrape (default 300).
FREEMOBILE_DUMP_HTMLNoA file path. When parsing fails, the raw page HTML is written there so the parser can be fixed. The file contains your personal data.
FREEMOBILE_STATE_FILENoWhere the login session and Free's trusted-device cookie are kept (default ~/.local/state/freemobile-conso-mcp/session.json, created with mode 0600). Anyone who can read this file can open your subscriber area until the session expires.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Read-only access to a Free Mobile (France) account's current-cycle usage, scraped from the subscriber area at mobile.free.fr.

  • "local" means usage on the French network; "roaming" means usage abroad (EU/roaming destinations, counted against the plan's roaming allowance).

  • Data amounts are reported in GB (1 GB = 1000 MB, matching Free's "Go").

  • Results are cached for a few minutes; pass refresh=true only if the user explicitly needs the very latest figures (each refresh is a fresh login).

  • If a tool errors or returns warnings, call health_check to find out whether it is a credentials problem or a dashboard layout change.

  • An [otp_required] error means Free wants a one-time security code: ask the user to run freemobile-conso-mcp --login in a terminal and enter the code they receive. Retrying the tool will not help until they have.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_local_usageA

Current billing-cycle usage on the French network: mobile data (used / allowance / remaining in GB, % used), call time, SMS and MMS counts, each with any out-of-plan charge.

Args: metric: Restrict to one metric ("data", "calls", "sms", "mms") or "all". refresh: Bypass the short cache and log in again.

get_roaming_usageA

Current billing-cycle usage while abroad (roaming): data used against the roaming allowance (e.g. 35 GB on the 5G plan), remaining GB, call time, SMS and MMS, each with any out-of-plan charge.

Args: metric: Restrict to one metric ("data", "calls", "sms", "mms") or "all". refresh: Bypass the short cache and log in again.

get_overageB

Charges billed on top of the monthly package ("hors forfait") for the current cycle: total in EUR plus a breakdown by local/roaming and by data/calls/SMS/MMS.

get_carbon_footprintB

Estimated carbon footprint of this cycle's mobile data use, as shown on the Free Mobile dashboard (grams CO2e).

get_plan_infoB

Account and plan details: plan name (best effort), account holder, line number, current billing period and the date the quotas next renew.

get_usage_summaryB

One-call overview for "how much data do I have left?": France and roaming data (used / remaining / % used), total overage and renewal date.

health_checkA

Log in afresh and verify the dashboard still parses.

status is one of: ok, degraded (parsed, but known fields came back empty or malformed: the dashboard probably changed), layout_changed, auth_failed, otp_required (Free wants a one-time code: the user must run freemobile-conso-mcp --login), network_error, not_configured. Never raises; use it to diagnose other tools' errors.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

Each tool targets a distinct slice of the dashboard (local usage, roaming usage, overage, carbon, plan info, diagnostic), and descriptions make the split clear. The only real overlap is get_usage_summary, which aggregates data from get_local_usage/get_roaming_usage/get_overage, but its 'how much data do I have left?' framing signals when to prefer it.

Naming Consistency4/5

Six of seven tools follow a get_<noun> pattern in consistent snake_case, which is predictable and readable. health_check breaks the get_ prefix, though it is a recognized convention for a diagnostic endpoint.

Tool Count5/5

Seven tools is well-scoped for a read-only carrier-dashboard mirror: four usage/charge queries, one account-info query, one aggregate shortcut, and one diagnostic. Each tool maps to a real question an agent would ask, with no filler.

Completeness4/5

The surface covers the full current-cycle picture across local, roaming, overage, carbon, and plan metadata, plus a summary and health check. Gaps are historical: no past billing cycles, invoice history, or usage trends, which agents might expect but can work around if only current-cycle data is needed.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues