Get a document library
mistral_get_libraryRetrieve details about a single document library. Management API: GET /v1/libraries/{library_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library_id | Yes | The library id (UUID). |
mistral_get_libraryRetrieve details about a single document library. Management API: GET /v1/libraries/{library_id}.
| Name | Required | Description | Default |
|---|---|---|---|
| library_id | Yes | The library id (UUID). |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safe-read profile is covered. The description adds the underlying Management API call (GET /v1/libraries/{library_id}), which reinforces the read semantics and hints at error behavior for missing ids, but says nothing about permissions, response shape, or failures.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences with the purpose front-loaded and the endpoint as secondary detail; nothing is wasted, though the API path is borderline redundant with the docstring-style purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter read tool with annotations covering safety, this is adequate. However, with no output schema, the description does not indicate what 'details' are returned, leaving the agent to guess at the payload.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and there is a single parameter, so the schema already documents library_id as a UUID. The description adds no format or constraint detail beyond that, making the baseline 3 appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (retrieve) and resource (details about a single document library), and the word 'single' implicitly contrasts with the sibling list_libraries. It stops short of naming an alternative sibling explicitly, so it is clear but not maximally differentiated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance, no prerequisites, and no mention of alternatives such as mistral_list_libraries or mistral_list_library_documents. The only routing signal is the implicit 'single' scope.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.