Skip to main content
Glama

process_markdown

Streamlines Markdown files or raw content into technical, executive, API, tutorial, or general documentation, with section targeting, output format selection, and word limits.

Instructions

Process and streamline markdown documentation files

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": "process_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoProcessing action to perform
formatNoOutput format
contentNoDirect markdown content (if no filePath)
filePathNoPath to markdown file
sectionsNoSpecific sections to focus on
maxLengthNoMaximum output length in words

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the behavioral burden, but it does not disclose whether the tool mutates or overwrites filePath, how content and filePath interact, what permissions are needed, or what side effects occur. 'Streamline' hints at transformation but gives no operational detail.

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

Conciseness3/5

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

The definition is a single compact sentence with no wasted wording, but it is overly sparse and does not structure the tool's options or behavior for the agent.

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

Completeness2/5

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

For a six-parameter markdown transformation tool with no annotations and no output schema, one vague sentence is incomplete. It omits what the action values actually do, how content versus filePath is handled, and what the agent should expect from output format or length limits.

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%, and all six parameters including the action and format enums are documented in the schema. The description adds no meaning beyond the schema's own parameter text.

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

Purpose3/5

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

The description states a verb ('Process and streamline') and a resource ('markdown documentation files'), so the general domain is clear. However, 'process' is broad, and it does not distinguish this tool from sibling markdown tools such as analyze_markdown or summarize_markdown.

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?

There is no when-to-use or when-not-to-use guidance, no named alternatives, and no prerequisites or exclusions. An agent can only infer that it applies to markdown documentation files.

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