Skip to main content
Glama

Tidy Byte Tools API

Chunk Markdown

md_chunk
Read-onlyIdempotent

Split Markdown into heading-aware chunks for search and RAG.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "md_chunk"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe Markdown text to split into chunks.
maxCharsNoLargest size of a chunk in characters, as a whole number of 200 or more. Default 1500.
prefixPathNoSet to true to start each chunk with its heading path. Default false.
overlapCharsNoCharacters to repeat between neighbor chunks, from 0 up to half of maxChars. Default 0.

Output Schema

NameRequiredDescriptionDefault
okYes
toolYes
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / maxChars / description
      Added value: +"Largest size of a chunk in characters, as a whole number of 200 or more. Default 1500."
    • addedInput schema / properties / overlapChars
      Added value: +{
      +  "description": "Characters to repeat between neighbor chunks, from 0 up to half of maxChars. Default 0.",
      +  "type": "number"
      +}
    • addedInput schema / properties / prefixPath
      Added value: +{
      +  "description": "Set to true to start each chunk with its heading path. Default false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / text / description
      Added value: +"The Markdown text to split into chunks."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds the meaningful trait that chunk boundaries are heading-aware, which is not in the annotations. It stops short of describing edge behavior — what happens with no headings, whether an oversized section is split mid-block, or how heading hierarchy is treated — which matters for a chunking tool.

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?

A single front-loaded sentence with zero filler; the verb and resource lead, and the purpose clause follows. Every word earns its place and nothing is redundant.

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?

An output schema exists and the input schema is fully documented, so return values and parameters need no explanation. Still, the core semantics of heading-aware chunking — boundary rules and fallback behavior when headings are absent or sections exceed maxChars — are left unstated, which is thin for a tool whose whole value is the chunking algorithm.

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%, with each of the four parameters documented in the schema (including ranges and defaults), so the baseline is 3. The description's only added meaning is 'heading-aware', which loosely contextualizes prefixPath and maxChars but supplies no format or interaction details beyond the schema.

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 and resource — 'Split Markdown into heading-aware chunks' — plus the intended output domain ('search and RAG'). An agent knows exactly what the tool produces. It does not explicitly differentiate from siblings, but no sibling (base64, hash, json_format, etc.) does chunking, so confusion risk is low.

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?

'for search and RAG' implies the usage context, so the agent can infer this is a preprocessing step rather than a formatting utility. However, there is no explicit when-to-use/when-not-to-use statement, no mention of alternatives, and no guidance on when chunking is preferable to passing raw Markdown.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.