Skip to main content
Glama

ParCAD

Read parcad's own documentation

read_docs
Read-only

Read parcad's own documentation. Call this before writing your first script: dsl is the complete language reference — every function, method and constant, with signatures and what each one means — generated from the DSL source, so nothing it has can be missing from it.

The alternative is learning the language from example parts, and that has been measured: a session that read two of them built its part out of boxes and cylinders, recorded mirror and lofts as impossible when both ship, and never found revolve, cone, ngon, polar, repeat, countersink, counterbore, tapDrill or clearance. The parts it wrote were a function of which files it happened to open.

The other topics are prose, and each is cited by name inside the seeded parts' own comments: gaps is what the language cannot express and what to write instead; gotchas is the list of shapes that make the kernel return a plausible wrong answer or die — a blended union of two solids that only touch on a face, an offset that silently drops a body, a fillet that grows the part; operations is which operations exist, which are deliberately absent, and why. Read gaps and gotchas before a part with blends, offsets or shells in it: most failed calls are in there already, described from the other side.

A topic too long for one reply — dsl is one, and so is gotchas — answers first with its contents, not the document: every section by name, and the name of every entry in it. section in that reply says contents, and sections lists the section names. Call read_docs again with the same topic and section set to one of those names to read that section whole, or to one entry's name — holeFor, Shape.mirror, SectionEntry; a bare method name like mirror also works — to read just that entry. Reading every section in sections is reading the whole document; nothing is left out of them. A topic that fits in one reply comes back whole, with no section. Entries give the rules and an example; detail: true adds the reasons and history behind them, which writing a part rarely needs. When you do not know which section has something, pass query with a name or a few words instead: the reply lists every section and entry that mentions them, with the topic and section to read each one.

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

Input Schema

NameRequiredDescriptionDefault
queryNoWords to look for, such as `countersink` or `blend union touching`. The reply lists the sections and entries that mention them, in every topic or in `topic` alone, each with the `topic` and `section` that read it whole.
topicNoWhich document: `dsl` (the default) is the language reference; `gaps` is what the language cannot express; `gotchas` is what silently returns a wrong answer; `operations` is what exists and what is deliberately absent. The reply lists them all, so one call finds the rest.
detailNoAdd the reasons and history behind each rule. Leave it out: the default is the rules themselves, and is what writing a part needs.
sectionNoOne part of a topic too long for a single reply. Leave it out first: a long topic then answers with its contents, which names every section and every entry. Pass a section name from there to read that section whole, or one entry's name — `spurGearOutline`, `Shape.mirror`, `SectionEntry` — to read just that entry.

Output Schema

NameRequiredDescriptionDefault
textYes
topicYes
sourceYes
topicsYes
sectionNo
sectionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds behavior the annotations can't: long topics return a contents listing rather than the document, with `section` set to `contents`, requiring a second call; topics that fit return whole with no `section`; and `detail: true` expands entries with rationale. That pagination contract is the most valuable thing here, though it is buried in a long paragraph rather than surfaced once crisply.

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 purpose and the primary directive are front-loaded and the topic taxonomy is crisp, but the middle passage — the anecdote about a session that built a part from boxes and cylinders and never found revolve, cone, ngon, polar — runs long and reads as persuasion rather than instruction. The key pagination rule an agent must act on arrives deep in the third paragraph. Informative overall, but a tighter version would move the `contents` contract up and compress the cautionary tale to a clause.

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

Completeness5/5

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

For a four-parameter, all-optional retrieval tool with an output schema, annotations, and full schema coverage, this is complete: it covers the topic taxonomy, the contents/section chaining for oversized documents, the `query` escape hatch, and the effect of `detail`. Nothing an agent needs in order to make a correct first call is missing.

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 100% and each parameter already carries a description, so the baseline is 3. The description still adds cross-parameter meaning the schema only implies: the contents-then-section chaining workflow, the fact that a bare method name like `mirror` resolves to an entry, and that `query` searches across all topics or within `topic`. That is real added usage semantics beyond per-field text.

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 description states a specific verb and resource ('Read parcad's own documentation') and immediately enumerates what is inside: `dsl` as the complete generated language reference, plus `gaps`, `gotchas`, and `operations` as prose topics. No sibling tool in the list reads documentation, and the description makes the tool's scope unambiguous.

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

Usage Guidelines5/5

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

It gives explicit when-to-use instructions ('Call this before writing your first script'), names the alternative it replaces (learning from example parts) and quantifies its failure modes, and routes to specific topics for specific situations ('Read `gaps` and `gotchas` before a part with blends, offsets or shells in it'). It also tells the agent when to prefer `query` over guessing a section, which is a genuine fallback rule.

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.