Skip to main content
Glama

export_component_docs

Generates complete Markdown documentation for a selected PrimeReact component, covering props, events, and examples to support AI-assisted coding.

Instructions

Export complete documentation for a PrimeReact component in markdown format

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": {
      "component": "<component>"
    },
    "name": "export_component_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
componentYesComponent name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

B3.3/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. It does not clarify whether 'export' returns a markdown string to the caller or writes a file to disk, how large the result may be, or whether the component must exist — a meaningful ambiguity for an agent deciding how to consume the output.

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 no wasted words; the resource and format are stated immediately with nothing extraneous.

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 without an output schema, the description does tell the agent the payload is markdown, which partially substitutes for a return-value spec. However, the export destination (string vs. file) and the breadth of 'complete documentation' remain unexplained.

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?

With a single parameter at 100% schema description coverage, the schema already documents 'component'. The description adds only that the name refers to a PrimeReact component, which is marginal but slightly useful context beyond 'Component name'.

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 uses a specific verb (export) and resource (complete documentation for a PrimeReact component) plus an output format (markdown). This implicitly separates it from the granular get_component_* getters that return individual sections, though no sibling is named explicitly.

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?

Usage is only implied: 'complete documentation' suggests it is the bulk alternative to per-section tools, but the description never states when to prefer it over get_component or the section-specific siblings, nor any prerequisites such as valid component names.

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