Skip to main content
Glama

mcp_index_scan

Scans MCP servers and indexes tools, with an option to limit scanning to configured servers for token efficiency.

Instructions

Scan all MCP servers and index their tools. By default, scans only configured servers (66% token savings).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
triggered_byNoSource of scan (manual, cron, deployment)manual
config_filterNoIf true (default), scan only servers in ~/.claude.json. Set false to scan all servers.
Behavior2/5

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

No annotations are provided, so the description must carry full burden. It does not disclose whether the scan is read-only or idempotent, nor any side effects like overwriting an existing index. This is insufficient for a tool that modifies state (indexing).

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?

Two sentences clearly state purpose and default behavior with no wasted words. Front-loaded with the core action, followed by a key optimization detail.

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

Completeness4/5

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

Given low complexity (2 optional parameters, no output schema), the description is nearly complete. It covers the tool's main function and a configuration note, but lacks a note about whether the scan is incremental or full rebuild.

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 coverage is 100% with descriptions for both parameters. The description adds no extra meaning beyond the schema, matching the baseline expectation. The default behavior note echoes config_filter's default value.

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 'Scan all MCP servers and index their tools' with a specific verb and resource, distinguishing it from sibling tools like mcp_index_search. However, it could more explicitly contrast with rebuild or search tools.

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 provides a default behavior note ('By default, scans only configured servers') and mentions token savings, which guides usage. But it lacks explicit when-to-use or when-not-to-use compared to siblings like mcp_index_rebuild or mcp_index_search.

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/davidgut1982/lore-mcp'

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