Skip to main content
Glama
mariusei

Scantool - File Scanner MCP

by mariusei

find_divergence

Audit a directory for peer divergence—functions that break a call pattern their siblings follow. Identify drift, missing connectivity, or misaligned implementations.

Instructions

Audit a directory for peer divergence - functions that break a call pattern their siblings across the codebase follow (peers calling X also call Y, this one doesn't). A REVIEW HINT to look at, not a verified bug list. Silent on a consistent codebase. Use to hunt drift, dead/missing connectivity, or misaligned implementations - cheaper and more focused than preview_directory when divergence is all you want

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directoryYes
max_findingsNo
respect_gitignoreNo
Behavior4/5

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

No annotations, but description discloses it's a 'REVIEW HINT' not a verified bug list, and 'silent on a consistent codebase'. This gives realistic expectations. However, lacks detail on side effects or read-only nature.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is a single paragraph, somewhat long but not excessive. Front-loads purpose but includes explanatory phrases that could be streamlined.

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 an audit tool with no output schema and low parameter coverage, description covers purpose and use cases but misses parameter details and return format, leaving gaps for agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and description does not explain parameters like max_findings or respect_gitignore. Only directory is implied. Agent cannot infer parameter meaning from description.

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 audits a directory for peer divergence, identifying functions that break call patterns. It distinguishes from sibling 'preview_directory' by emphasizing focus and efficiency.

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?

Explicitly describes when to use (hunt drift, dead connectivity) and contrasts with preview_directory. Does not explicitly state when not to use, but context implies alternatives.

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/mariusei/file-scanner-mcp'

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