PinRAG
Server Quality Checklist
Latest release: v0.9.15
- Disambiguation4/5
The tools have mostly distinct purposes with clear boundaries: adding documents, listing documents, querying, and removing documents. However, there is some ambiguity between add_document_tool and add_url_tool since both handle URLs (GitHub/YouTube), though the descriptions clarify that add_document_tool is for mixed inputs while add_url_tool is URL-specific. This slight overlap could cause minor confusion but is mitigated by descriptive tool names and clear documentation.
Naming Consistency5/5All tool names follow a consistent verb_noun_tool pattern (e.g., add_document_tool, list_documents_tool, query_tool, remove_document_tool). This uniformity makes the tool set predictable and easy to navigate, with no deviations in naming style or convention across the five tools.
Tool Count5/5With 5 tools, this server is well-scoped for its RAG indexing and querying purpose. Each tool serves a clear, essential function (add, list, query, remove) without redundancy, and the count aligns with typical MCP server ranges (3-15 tools), ensuring the set is neither too sparse nor overloaded.
Completeness4/5The tool surface covers the core CRUD lifecycle for a RAG system: adding documents (including URLs), listing indexed documents, querying with filters, and removing documents. A minor gap is the lack of an update tool for modifying indexed documents (e.g., re-indexing or updating tags), but agents can work around this by removing and re-adding. Overall, the coverage supports basic workflows effectively.
Average 4.1/5 across 5 of 5 tools scored.
See the Tool Scores section below for per-tool breakdowns.
- No community issues in the last 6 months
- 0 commits in the last 12 weeks
- Last stable release on
- No critical vulnerability alerts
- No high-severity vulnerability alerts
- No code scanning findings
- CI is passing
This repository is licensed under MIT License.
This repository includes a README.md file.
No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.
Tip: use the "Try in Browser" feature on the server page to seed initial usage.
This repository includes a glama.json configuration file.
If you are the author, simply .
If the server belongs to an organization, first add
glama.jsonto the root of your repository:{ "$schema": "https://glama.ai/mcp/schemas/server.json", "maintainers": [ "your-github-username" ] }Then . Browse examples.
Add related servers to improve discoverability.
How to sync the server with GitHub?
Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.
To manually sync the server, click the "Sync Server" button in the MCP server admin interface.
How is the quality score calculated?
The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).
Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.
Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).
Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.
Tool Scores
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full disclosure burden. Successfully adds behavioral context: explains ID format variants (PDF filenames, video IDs, GitHub paths), discloses total chunk counting behavior, notes server config dependency for vector store location, and specifies return dictionary structure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured with clear sections: purpose statement, Returns block, and Args block. Information is front-loaded. Minor verbosity in Returns section documenting fields, though this adds value by example ID patterns. 'ctx' parameter mention in Args is extraneous (not in schema) but marked as unused.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness4/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Appropriately complete for a 1-parameter listing tool. Output schema exists (per context signals), so verbose return documentation in description is optional but helpful. Includes concrete examples of document ID formats which aids LLM comprehension of return values.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema has 100% description coverage for the single 'tag' parameter. Description includes Args section that essentially duplicates schema information. Baseline 3 is appropriate since schema is self-documenting; description adds no new semantic meaning beyond schema but accurately reflects it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose4/5Does the description clearly state what the tool does and how it differs from similar tools?
States specific verb 'List' with resource 'indexed documents' and scope 'PinRAG index'. Clear distinction from siblings: contrasts with add/remove by focusing on retrieval of existing index, and implicitly differs from query_tool by emphasizing enumeration ('all indexed documents') rather than semantic search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines3/5Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides implicit usage context through detailed return value description (document IDs, chunk counts), but lacks explicit when-to-use guidance. Does not clarify when to choose this over query_tool (listing/enumeration vs. content search) or whether to check existence before calling add_document_tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. Explicitly states destructive scope ('Deletes all chunks and embeddings'), mentions server config dependency for vector store location, and documents return structure. Could clarify if operation is reversible.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with clear action statement. Uses docstring-style Args/Returns sections which provide structure but repeat schema information. Each sentence adds value (mechanism, prerequisite, config dependency, examples).
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness4/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Appropriate for a single-parameter destructive tool. Covers prerequisites (list_documents_tool), explains what gets destroyed (chunks/embeddings), documents return values, and notes configuration dependencies. Complete given the tool's limited complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema has 100% coverage with document_id well-described. Description adds valuable examples of ID formats (e.g., 'bwgLXEQdq20'). However, erroneously documents 'ctx' parameter in Args section that does not exist in the input schema, potentially causing confusion.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
Clear specific verb (Remove) + resource (document and chunks) + scope (PinRAG index). Distinguishes from siblings: contrasts with add_document_tool/add_url_tool (ingestion), list_documents_tool (listing), and query_tool (search).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines4/5Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly directs users to use list_documents_tool first to obtain document_ids, providing clear workflow guidance. Includes concrete examples of ID formats (e.g., 'mybook.pdf', 'owner/repo/path'). Lacks explicit 'when not to use' exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. Discloses critical behaviors: auto-format detection per path, partial failure tolerance (one bad path doesn't fail batch), server config dependency for vector store, and parameter applicability constraints (GitHub params ignored for other formats). Missing idempotency or rate limit disclosures.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured with front-loaded purpose statement, followed by behavior details, formatted Args section, and Returns section. Minor redundancy between Args section and schema descriptions, but earns its place by presenting information in readable narrative form with practical examples.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness5/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Comprehensive coverage of multi-format input complexity (PDF, Discord exports, GitHub, YouTube), vector store configuration context, and return value summary appropriate given output schema exists. Adequately prepares agent for the tool's multi-modal indexing behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters4/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, establishing baseline 3. Description adds value by providing concrete syntax examples in prose ('paths=["/path/to/file.pdf"]'), clarifying the ordering constraint between tags and paths ('one per path, same order'), and noting that ctx is injected/unused—context not fully captured by schema descriptions alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
Opens with specific verb 'Add' and enumerates exact resource types (files, directories, YouTube videos, GitHub repos) and target destination 'to the index'. Implicitly distinguishes from sibling add_url_tool by specifically listing content types that require format detection, while add_url_tool likely handles generic URLs.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines3/5Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides concrete usage examples ('Single path: paths=[...]') and explains batch error handling ('Returns both successful and failed entries'), but lacks explicit when-to-use guidance versus add_url_tool or prerequisites like file access permissions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description must carry the full disclosure burden. It successfully explains the RAG mechanism and citation behavior but omits safety-critical context (read-only nature, error handling when documents missing, rate limits) that annotations would typically cover.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured with clear Args/Returns sections and front-loaded summary. The Args section largely mirrors schema properties but justifies its length by adding cross-references and usage examples not present in the structured schema. Slight verbosity in the Args list, but every parameter earns its documentation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness5/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (8 parameters, multiple filter types, RAG architecture), the description comprehensively covers: the retrieval mechanism, all filter parameters with domain-specific notes (PDF page ranges, GitHub paths), response style options, and return structure (answer + sources). Complete for a sophisticated query tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters4/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Despite 100% schema coverage (baseline 3), the description adds substantial value: cross-references to list_documents for document_id/file_path, domain constraints ('PDF only' for page ranges), specific GitHub path examples, and enumerated style options. The only minor issue is documenting 'ctx' as an injected argument not present in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description provides a specific verb ('Query') and resource ('indexed documents'), clearly distinguishing this RAG-based search tool from sibling add/remove/list operations. Opening sentence immediately establishes the retrieval-and-answer paradigm.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines4/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear usage context by repeatedly referencing list_documents for obtaining valid document_id and file_path values, establishing a workflow dependency. However, it lacks explicit 'when not to use' guidance or contrast with the sibling list_documents_tool for browsing vs querying.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. While it identifies the content sources (YouTube/GitHub), it lacks operational details: no mention of idempotency, whether existing entries are overwritten, async/sync processing, or failure modes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
Two efficiently structured sentences. First establishes purpose and supported resources; second provides sibling alternative. No redundancy or unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness4/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Complete for tool selection: covers supported resources, indexing action, and sibling differentiation. With output schema present, return values need not be described. Minor gap: does not mention that this is a write/mutation operation or its side effects given lack of annotations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters4/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (baseline 3). Description adds value by specifying the two distinct URL types (YouTube vs GitHub), which provides necessary semantic context for the domain-specific parameters (branch, include_patterns, exclude_patterns) that would otherwise seem arbitrary.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
States specific action ('Add'), resource types ('YouTube videos/playlists or GitHub repos'), destination ('to the index'), and input method ('via URL'). Clearly distinguishes scope from sibling add_document_tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines5/5Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly directs users to alternative: 'For local files or directories, use add_document_tool instead.' Provides clear when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
GitHub Badge
Glama performs regular codebase and documentation scans to:
- Confirm that the MCP server is working as expected.
- Confirm that there are no obvious security issues.
- Evaluate tool definition quality.
Our badge communicates server capabilities, safety, and installation instructions.
Card Badge
Copy to your README.md:
Score Badge
Copy to your README.md:
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ndjordjevic/pinrag'
If you have feedback or need assistance with the MCP directory API, please join our Discord server