Skip to main content
Glama

remove

Remove documents from the index by source name, folder, or glob pattern. Source files remain untouched.

Instructions

Remove documents from the index by source name, folder, or glob pattern.

Source files are never deleted. A folder name removes every document indexed beneath it; a glob (*/?/[]) removes every matching source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Without annotations, the description carries the full burden. It explicitly states that source files are never deleted and explains matching behavior for folders and globs. This covers key behavioral traits, though rate limits or reversibility are not addressed.

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 two sentences, no wasted words. The first sentence clearly states purpose, and the second adds critical behavioral context. It is front-loaded and efficient.

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?

Given one parameter and the existence of an output schema, the description covers input semantics and key behavioral notes. It lacks any mention of return values, but the output schema likely provides that. Minor gap.

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

Parameters5/5

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

Schema coverage is 0% for the 'names' parameter, but the description thoroughly explains that names can be source names, folder names, or glob patterns, with specific semantics for each. This adds significant meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'Remove' and resource 'documents from the index' are clear. It specifies the input types (source name, folder, glob pattern) and distinguishes from sibling tools like 'add' and 'sync'.

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

Usage Guidelines3/5

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

The description implies when to use this tool (to remove indexed documents) but does not explicitly state when not to use it or mention alternative tools. No clear guidance on prerequisites or exclusions.

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/tobocop2/lilbee'

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