Skip to main content
Glama

analyser_imports

Résout les imports relatifs et retourne les groupes de fichiers mutuellement dépendants.

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": {
      "fichiers": "<fichiers>"
    },
    "name": "analyser_imports"
  }
}

Input Schema

NameRequiredDescriptionDefault
fichiersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It reveals that output is dependency groups, which is useful, but says nothing about how imports are resolved, what happens with unresolvable or circular imports, or that at most 500 files of bounded source size are accepted.

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 tight sentence with the core behavior front-loaded and no wasted wording. It is appropriately short, though its brevity borders on under-specification given the input shape.

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

Completeness2/5

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

With no output schema, no annotations and 0% schema description coverage, the description must explain both the expected input contract and what the returned 'groups' look like. It does neither, so an agent cannot reliably construct the 'fichiers' payload or interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single parameter 'fichiers', which is an array of objects containing 'chemin' and 'source'. The description never mentions that file contents must be supplied inline alongside paths, nor any constraint on the array.

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 verb and resource: resolving relative imports and returning groups of mutually dependent files. An agent can tell this is a dependency-graph/import-analysis tool. There are no siblings to differentiate against, so it loses only the differentiation credit.

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?

No when-to-use guidance, no preconditions, no mention of limits. The description never says what kind of files/languages are expected or when an agent should prefer this over reading files itself, leaving usage entirely to inference.

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