Skip to main content
Glama

l0g.fr Risk Intelligence

Get Openapi Schema

get_openapi_schema
Read-onlyIdempotent

Expose le contrat OpenAPI public de l'Agent Surface l0g. Permet à un agent de découvrir les chemins, méthodes et schémas sans récupérer tout le fichier si un résumé suffit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNosummary pour index, path pour un endpoint, full pour le contrat complet.summary
pathNoChemin OpenAPI exact, par exemple /api/v1/claims.json, utilisé avec mode=path.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
infoNo
errorNo
pathsNo
openapiNo
schemasNo
serversNo
pathCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds that the contract is public and that summary mode avoids full-file retrieval, which is useful context, but it does not go far beyond the annotation-provided safety profile.

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 concise sentences that front-load the core purpose and then add the summary-versus-full-file nuance. There is no filler or redundant elaboration.

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?

This is a simple discovery tool with rich annotations, fully described parameters, and an output schema. The description covers the essential context for an agent to select and invoke the tool correctly.

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 coverage is 100% and both parameters already have detailed descriptions, including the mode enum values and path format example. The description reinforces the 'summary suffices' idea but does not add meaningful parameter semantics beyond the schema.

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 clearly states that the tool exposes the public OpenAPI contract of the Agent Surface l0g and that it enables discovery of paths, methods, and schemas. It is easily distinguishable from all sibling tools, none of which target the OpenAPI contract.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description gives a clear use case: discover the API contract and avoid retrieving the full file when a summary suffices. However, it does not explicitly name alternative tools or define when this tool should be preferred over siblings, so the guidance remains implied rather than explicit.

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.