Skip to main content
Glama

pageindex_local_reindex_document

Regenerate the local PageIndex for an existing document to update its reasoning-based RAG index.

Instructions

Re-run local PageIndex generation for an existing document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo
documentIdYes
addNodeTextNo
tocCheckPagesNo
maxPagesPerNodeNo
maxTokensPerNodeNo
Behavior2/5

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

No annotations provided. Description does not disclose whether reindexing overwrites or merges, side effects on existing data, or authorization needs. Minimal disclosure beyond basic action.

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?

A single sentence, very concise. However, it sacrifices informativeness for brevity; could include key details without losing conciseness.

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

Completeness1/5

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

Given 6 undocumented parameters, no output schema, and no annotations, the description is severely incomplete. Does not explain return values, parameter roles, or operational context.

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

Parameters1/5

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

Schema coverage 0%; description provides no parameter explanations. 6 parameters (model, addNodeText, tocCheckPages, etc.) are undocumented, leaving the agent without semantic guidance.

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 uses verb 'Re-run' and resource 'local PageIndex generation for an existing document', distinguishing it from initial indexing (index_document) and retrieval (get_document). Could specify what 'generation' involves.

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 on when to use this tool vs alternatives like pageindex_local_index_document. No mention of prerequisites (e.g., document must already exist with initial index).

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/jamesbubenik/pageindex-local-mcp'

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