Skip to main content
Glama
rag-chunk-mcp
by leofannf

explain_strategy

Choose the right chunking strategy by explaining when to use fixed, sentence, or recursive splits for RAG documents and citations.

Instructions

Explain when to use the "fixed", "sentence", or "recursive" strategy.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "strategy": "<strategy>"
    },
    "name": "explain_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
strategyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does not say whether the call is a safe read, what form the explanation takes, or whether it is static documentation versus computed advice. It also gives no hint about output length or structure, despite there being no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with the valid values front-loaded and no filler. It is efficient, but the brevity leaves the surrounding context unstated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with no annotations and no output schema, telling the agent the three accepted values is the minimum needed to call it correctly. It still omits what the explanation covers or returns, so an agent cannot predict the response.

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 coverage is 0% and the schema types strategy as a bare string with no enum, so the description is the only place the three valid values are enumerated. That is a real addition beyond the schema, though it does not say whether other values are rejected or how the value changes the answer.

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 names a specific verb ("Explain") and the exact resource being explained (the "fixed", "sentence", or "recursive" strategy), so an agent can tell this is an informational tool about strategy selection. It does not say what domain the strategies belong to (presumably text chunking, given siblings), which keeps it from a 5.

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?

The sentence describes the content of the answer, not when to call the tool. Nothing distinguishes it from compare_strategies or tells the agent to call it before/after chunk_text when picking a chunking approach.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools