Skip to main content
Glama
mjyoo2
by mjyoo2

release_scan

Prevent resource leaks by releasing scan data for a document using its doc_id from open_document.

Instructions

Release scan resources after InitScan.

Args: doc_id: Document ID from open_document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states that the tool releases scan resources, but does not explain whether this is required cleanup, what happens if called before InitScan, whether it is idempotent, or what side effects occur on subsequent scanning operations.

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 description is minimal and front-loaded, with the core action stated in the first sentence and the argument context in a simple Args block. No words are wasted, though the terseness contributes to some ambiguity.

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

Completeness3/5

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

For a single-parameter cleanup tool with an output schema, this is minimally adequate: it names the action, the timing, and the parameter source. But it lacks guidance on invocation requirements and consequences, which matters more because there are no annotations to fill the gap.

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?

The schema has 0% description coverage, so the description must compensate. It does add the useful context that doc_id is 'Document ID from open_document', which helps an agent source the correct value. However, it does not explain whether this is the same doc_id used in InitScan or how to obtain it beyond the open_document reference.

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 uses a specific verb ('Release') with a resource ('scan resources') and a timing condition ('after InitScan'), which clearly identifies the tool's purpose. It also distinguishes itself from init_scan by reference, though 'scan resources' is somewhat vague.

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?

'After InitScan' provides clear contextual guidance on when this tool should be invoked, implying it is the cleanup counterpart to init_scan. It does not explicitly list exclusions or alternative tools, but the lifecycle pairing is clear enough for a simple resource-release operation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mjyoo2/hwp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server