Skip to main content
Glama
byliu-labs

mcp-context

by byliu-labs

Index Content

index

Index documentation or API references into a searchable knowledge base for on-demand retrieval via search.

Instructions

Index content into the searchable knowledge base.

Use for storing documentation, API references, or any content you want to search later. After indexing, use search() to retrieve specific sections on-demand.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesLabel for the indexed content (e.g., 'react-docs', 'api-reference')
contentYesThe text content to index (max 10MB)
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for transparency. It states the tool indexes content but omits details on idempotency, overwrite behavior, or potential side effects, which are important for a write operation.

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 concise with two clear sentences: the first declares purpose, the second provides usage guidance. No extraneous text.

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?

The tool is simple with two parameters and no output schema. The description covers purpose and usage adequately. Minor gap: no mention of return value or error handling, but not critical for a basic indexing tool.

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 description coverage is 100%, so the baseline is 3. The description does not add extra parameter semantics beyond the schema's own descriptions, but the schema has adequate explanations for 'source' and 'content'.

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 the tool's action ('index content') and resource ('searchable knowledge base'). It is specific and actionable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly recommends when to use the tool (storing documentation, API references, etc.) and directs users to the sibling tool 'search()' for retrieval, providing clear usage guidance.

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/byliu-labs/mcp-context'

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