Skip to main content
Glama

profil_fichier

Read-onlyIdempotent

Profiles a tabular file to show its columns, data types, and frequent values before querying, so you use accurate column names.

Instructions

Colonnes, types et valeurs fréquentes d'un fichier tabulaire (CSV, XLSX…), en direct. À lire avant interroger_fichier pour connaître les vrais noms de colonnes.

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": {
      "resource_id": "<resource_id>"
    },
    "name": "profil_fichier"
  }
}

Input Schema

NameRequiredDescriptionDefault
resource_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds one genuine trait beyond that — 'en direct' signals live/uncached profiling rather than stored metadata — but says nothing about cost, file-size limits, sampling of 'frequent values', or permissions needed to read a resource.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, no filler, with the output content front-loaded and the sequencing advice second. Every clause carries information an agent would otherwise have to guess.

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 no output schema, the description takes on the burden of describing the return and does so at a useful level (columns, types, frequent values). What remains thin is the shape of that output and how 'frequent values' is bounded, which for a simple read-only profiling tool is a minor rather than blocking gap.

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 0%, so `resource_id` is undocumented in structured fields; the description partially compensates by indicating the target is a tabular file, but gives no format hint (ID, path or URL) or constraints. With a single parameter the gap is modest, but the description does not fully close it.

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 names the resource (a tabular file: CSV, XLSX) and precisely what the tool returns — column names, types and frequent values — which is a specific function an agent can distinguish from querying data. It is framed as a noun phrase rather than an action verb, so the 'profile' operation is inferred rather than stated, keeping it just short of 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 Guidelines4/5

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

It gives explicit sequencing guidance: read this before `interroger_fichier` to learn the real column names, which names the alternative sibling and the condition that selects it. It does not state when not to use the tool (e.g. already-known schemas, non-tabular resources), so there is no exclusion guidance.

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