Skip to main content
Glama

detect_redundancy

Identify duplicate or redundant API calls in a flow

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callsYesArray of API calls to analyze
threshold_pctNoSimilarity threshold percentage (0-100)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description must fully disclose behavioral traits. It only states the action ('identify') without explaining how redundancy is determined, whether the tool is read-only, what the threshold_pct does, or what output format to expect. This is a significant gap for an analysis tool.

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?

The description is a single sentence that is direct, front-loaded, and free of any fluff or redundant wording. It conveys the core idea efficiently without wasting the agent's attention.

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?

The tool has no output schema and a nested array parameter, so the description should explain what the tool returns and how the analysis works. It only covers the action, not the results, threshold behavior, or processing details, leaving a notable gap for correct invocation.

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 input schema provides descriptions for both parameters ('calls' and 'threshold_pct'), covering 100% of the schema. The description adds no additional parameter context, so it neither improves nor detracts from the schema's clarity, meeting the baseline for high schema coverage.

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 clearly states the tool's function: identify duplicate or redundant API calls in a flow. The verb 'identify' is specific and the resource is well-defined. It is distinct from siblings like analyze_flow or suggest_batching, though it does not explicitly contrast them.

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

Usage Guidelines3/5

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

The description implies when to use the tool (when looking for redundant API calls) but provides no explicit guidance on choosing it over alternatives like analyze_flow or suggest_batching. There are no 'use when' or 'instead of' statements, so the usage context remains implicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool targets a distinct aspect of API flow analysis: overall flow, savings, redundancy, dependency graph, batching, and individual call tracking. No two tools have overlapping purposes.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case, making the set predictable and easy to navigate.

Tool Count5/5

Six tools is well-scoped for an API flow analyzer, covering core diagnostics without unnecessary bloat or missing essentials.

Completeness4/5

The surface covers tracking, analysis, redundancy detection, batching, dependency graphing, and savings calculation. Minor gaps like cleanup or export are absent but not critical for the domain.