Skip to main content
Glama
Elioz404

Codex Context Engine

by Elioz404

find_unused_exports

Identifies exported symbols that are not imported anywhere in the project, enabling removal of unused exports to clean up code.

Instructions

Scans the project to identify exported classes, functions, or variables that are never imported anywhere in the codebase.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations exist, so the description must disclose behaviors. It does not mention whether scanning requires a pre-indexed workspace, how dynamic imports are handled, or if the search is limited to certain file types. Side effects or performance impact are not addressed.

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?

A single sentence conveys the core action and result. No extraneous words, front-loaded with the scanning intent.

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?

Given the tool's simplicity (no params, no output schema), the description is minimally adequate. However, it lacks usage context and behavioral details that would enhance completeness beyond the bare minimum.

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?

With zero parameters and 100% schema coverage, the baseline is 4. The description could explicitly note that no input is needed, but the absence of parameters makes the tool self-explanatory.

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 the tool's verb ('scans to identify') and specific resource ('unused exports'), distinguishing it from sibling tools like 'find_definitions' which find all definitions, not just unused ones.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool vs alternatives, such as using 'find_references' to check usage or 'detect_circular_dependencies' for circular imports. No prerequisites or exclusions are mentioned.

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/Elioz404/PanchiCodex'

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