Skip to main content
Glama

list_imports

Read-only

The import batches of the project, most recent first: source, date, report (created / updated / skipped / conflicts / errors), rolled back or not, and the number of tasks STILL present. With importId: the PER-TASK REPORT of that batch (created, updated with which fields, skipped, in conflict, in error — identifiers, outcome, reason and field NAMES, without the content of a task), paginated by page; it exists only if the server keeps it, otherwise the response says so. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_imports"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoWith `importId`: the slice of the report (default 1); `report.pages` says how many there are, `report.nextPage` the next one.
limitNoDefault: 20 batches, most recent first.
importIdNoThe batch whose PER-TASK REPORT you want (created, updated with which fields, skipped, in conflict, in error) — without it, the list of batches as numbers. `limit` does not apply to it.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed4 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / importId / description
      Previous value: -"Le lot dont tu veux le RAPPORT PAR TÂCHE (créée, mise à jour avec quels champs, ignorée, en conflit, en erreur) — sans lui, la liste des lots en nombres. `limit` n’y sert pas."New value: +"The batch whose PER-TASK REPORT you want (created, updated with which fields, skipped, in conflict, in error) — without it, the list of batches as numbers. `limit` does not apply to it."
    • changedInput schema / properties / limit / description
      Previous value: -"Défaut : 20 lots, du plus récent au plus ancien."New value: +"Default: 20 batches, most recent first."
    • changedInput schema / properties / page / description
      Previous value: -"Avec `importId` : la tranche du rapport (défaut 1) ; `report.pages` dit combien il y en a, `report.nextPage` la suivante."New value: +"With `importId`: the slice of the report (default 1); `report.pages` says how many there are, `report.nextPage` the next one."
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint, so the trailing "Read-only." is redundant. Beyond that, the description adds real behavioral context: default ordering, the conditional existence of the per-task report ("it exists only if the server keeps it, otherwise the response says so"), and that the count reflects tasks STILL present after rollback — genuine semantics not present in structured fields.

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?

The purpose is front-loaded in the opening clause and the mode split follows immediately, so an agent can stop reading early. However, the heavy nested parentheses and em-dashes compress a lot into one block, and "Read-only." duplicates the annotations without adding value.

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

Completeness5/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 carries the return-value burden and does so: it enumerates the batch fields, the per-task report contents (identifiers, outcome, reason, field NAMES but not task content), the pagination signals, and the failure mode where the report is unavailable. Nothing an agent needs to call this correctly and interpret the result appears missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description nevertheless adds meaning beyond the schema by tying `page` to the per-task report mode and stating that `limit` does not apply when `importId` is set. The interaction between the two modes' parameters is clarified in prose in a way the schema does not express.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource (import batches of the project) and clearly delineates two distinct modes: the batch list by default and the PER-TASK REPORT when `importId` is supplied. The field inventory (source, date, report counts, rollback state, remaining tasks) makes the resource unmistakable versus the many sibling list_* tools.

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 the switch condition for its two modes ("With `importId`: the PER-TASK REPORT") and notes ordering ("most recent first") plus that `limit` does not apply to the per-task mode. It stops short of naming alternatives or when-not-to-use guidance, e.g. whether to prefer list_tasks to see the tasks that survived an import.

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.