pageindex_local_index_document

Add and index a local PDF or Markdown file using the local PageIndex installation. Returns document ID and tree path on success.

Server Pageindex Local jamesbubenik/pageindex-local-mcp
Category Write
Risk class Medium
Parameters 00 required

What pageindex_local_index_document does on Pageindex Local

AI agents use pageindex_local_index_document to create or update resources in Pageindex Local — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Pageindex Local environment.

Why pageindex_local_index_document needs a policy

This tool creates and modifies the document index by adding new files to the local PageIndex system. While reversible (documents can be removed via pageindex_local_remove_document), it represents a Write operation that adds data to the system.

From the tool's definition Tool description states 'Add and index a local PDF or Markdown file' and 'Returns document ID and tree path on success.' The verb 'Add' and the action of indexing a file into a system represents creating a new indexed document entry.

Questions about pageindex_local_index_document

What does the pageindex_local_index_document tool do? +

Add and index a local PDF or Markdown file using the local PageIndex installation. Returns document ID and tree path on success. It is categorised as a Write tool in the Pageindex Local MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on pageindex_local_index_document? +

Register the Pageindex Local MCP server in PolicyLayer and add a rule for pageindex_local_index_document: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Pageindex Local. Nothing to install.

What risk level is pageindex_local_index_document? +

pageindex_local_index_document is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit pageindex_local_index_document? +

Yes. Add a rate_limit block to the pageindex_local_index_document rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block pageindex_local_index_document completely? +

Set action: deny in the PolicyLayer policy for pageindex_local_index_document. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides pageindex_local_index_document? +

pageindex_local_index_document is provided by the Pageindex Local MCP server (jamesbubenik/pageindex-local-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.