Skip to main content
Glama
timohaa

Scopewalker MCP

by timohaa

check_thresholds

Find files and functions that exceed size thresholds, exposing oversized code in a project. Scan by path, extension, and depth while limiting results to pinpoint violations.

Instructions

Finds files/functions exceeding size thresholds. Use limit to control output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesTarget path
limitNoMax violations
max_depthNoMax depth
max_filesNoMax files to scan
extensionsNoFilter by extensions
include_hiddenNoInclude hidden
max_file_linesNoFile line threshold
ignore_patternsNoExclude patterns
max_function_linesNoFunction line threshold

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.3.0
    • addedInput schema / properties / extensions / items / maxLength
      Added value: +32
    • addedInput schema / properties / extensions / items / pattern
      Added value: +"^\\.?[A-Za-z0-9_+-]+$"
    • addedInput schema / properties / extensions / maxItems
      Added value: +100
    • addedInput schema / properties / ignore_patterns / items / maxLength
      Added value: +512
    • addedInput schema / properties / ignore_patterns / maxItems
      Added value: +100
    • changedInput schema / properties / limit / maximum
      Previous value: -9007199254740991New value: +5000
    • changedInput schema / properties / max_depth / maximum
      Previous value: -9007199254740991New value: +64
    • changedInput schema / properties / max_file_lines / maximum
      Previous value: -9007199254740991New value: +10000
    • changedInput schema / properties / max_files / maximum
      Previous value: -9007199254740991New value: +10000
    • changedInput schema / properties / max_function_lines / maximum
      Previous value: -9007199254740991New value: +10000
  2. First observedv1.0.4

TDQS

C2.9/5.0
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 only states the tool's purpose and does not describe side effects, whether it modifies anything, performance implications, or what 'size thresholds' means by default. For a read-only scanning tool, this is a notable gap.

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 concise, using two short sentences with no redundancy. It front-loads the core function and includes a brief usage tip. This is efficient, though it sacrifices depth for brevity.

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

Completeness2/5

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

Despite having 9 parameters and no output schema, the description fails to explain return formats, default thresholds, recursion behavior, or how filters interact. An agent would likely need to experiment or inspect sibling tools to fully understand the output. The lack of behavioral details makes it incomplete for a complex scanning tool.

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 description coverage is 100%, so the schema already documents all 9 parameters. The description adds value by hinting at the 'limit' parameter's role in controlling output, but it does not elaborate on other parameters like max_depth, extensions, or ignore_patterns. The baseline of 3 is appropriate given the schema's thoroughness.

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 states a specific verb ('finds') and resource ('files/functions') with a condition ('exceeding size thresholds'), making the core purpose clear. However, it does not differentiate from sibling tools like get_line_counts or get_code_smells, which might also involve size or threshold analysis. The clarity is adequate but not exemplary.

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?

The description offers minimal usage guidance: 'Use limit to control output.' It does not explain when to use this tool versus alternatives, nor does it mention any prerequisites or exclusions. An agent would need to infer the intended use case from the tool name and schema alone.

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