Skip to main content
Glama
BukeLy

PageIndex Light MCP

by BukeLy

get_index

Retrieve a PDF index and perform semantic search. Provide a query to return relevant pages, or omit to see all indexed pages.

Instructions

获取 PDF 文件索引,支持语义搜索

Args: file_path: PDF 文件的完整路径 query: 搜索查询(可选)。如果提供,返回最相关的页面;否则返回全部索引 top_k: 返回结果数量,默认 5(仅在有 query 时生效)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
top_kNo
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses conditional behavior: if a query is provided, the most relevant pages are returned; otherwise the entire index is returned. It also notes that top_k only applies when a query exists. However, it does not mention side effects, error handling, or whether the operation is read-only, leaving some behavioral gaps.

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 tightly structured: a one-line purpose followed by a bulleted Args list. There is no redundancy or filler; every sentence earns its place.

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?

Since an output schema exists, return values need not be described. The description covers the main behavior and all parameters. However, it does not provide usage context relative to get_detail or mention preconditions/errors, making it adequate but not exhaustive.

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

Parameters4/5

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

Schema description coverage is 0%, so the description compensates by listing each parameter with meaning: file_path is the full path, query is an optional search that returns relevant pages, and top_k is the result count defaulting to 5 and only active with a query. This adds value beyond the raw schema, though it lacks constraints like positive integer requirements.

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 opens with '获取 PDF 文件索引,支持语义搜索' (Get PDF file index, supports semantic search), which clearly identifies the action (get/retrieve) and resource (PDF file index). It is specific and unambiguous, but does not explicitly differentiate from the sibling tool get_detail.

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 is given about when to use this tool versus get_detail, nor are there any exclusions or alternative recommendations. The description only explains what the tool does, not when it should be selected.

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/BukeLy/pageindex-light-mcp'

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