document_close
Close a named session to release the document from memory and free resources.
Instructions
Close a named session and release the document from memory
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session name to close |
Close a named session to release the document from memory and free resources.
Close a named session and release the document from memory
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session name to close |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden. It states that the document is released from memory, but does not disclose side effects like unsaved data loss or whether the operation is reversible. This is adequate but not fully transparent.
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?
The description is a single, concise sentence that immediately conveys the tool's purpose. No unnecessary words or fluff.
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?
With one parameter, no output schema, and no annotations, the description is adequate but could benefit from mentioning what happens to unsaved changes or if the session must be saved first. It provides the basic action but lacks context.
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?
The schema already describes the 'session' parameter with a short description. The description adds no additional meaning beyond what the schema provides. Schema coverage is 100%, so baseline is 3.
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?
The description clearly states the action: close a named session and release the document from memory. It uses a specific verb and resource, and distinguishes from other session-related siblings like document_clone_session or document_list_sessions.
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 guidance on when to use this tool versus alternatives, when not to use it, or any prerequisites (e.g., unsaved changes will be lost). The description does not mention context for closing a session.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Apitomy/apitomy-data-models-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server