Skip to main content
Glama

ParCAD

Show what a fillet will act on

inspect_treatment_target
Read-only

Show exactly which edges a fillet or chamfer will act on, resolved against the shape before that treatment runs. Takes a node index from evaluate_part's treatments list. Also reports tags whose edge set is exactly this target, which are stable selectors you can use in the script.

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": {
      "node": "<node>"
    },
    "name": "inspect_treatment_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeYesThe intent-graph node of the treatment to resolve, as reported in `treatments` by `evaluate_part`.
editsNoChanges to make before building, in order, each { old, new } replacing text that appears exactly once; nothing is written back.
scriptNoA parcad DSL script ending in a returned shape. Give this or `project`, not both.
projectNoThe part to build instead of sending it, as list_projects spells it, or "@session" for the script on the user's screen.

Output Schema

NameRequiredDescriptionDefault
nodeYes
edgesYes
edge_countYes
vertex_countYes
script_sha256Yes
equivalent_tagsYes
matched_looselyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: resolution happens pre-treatment against the source shape, and the tool additionally surfaces matching tags. It stops short of describing edge-case behavior or failure modes.

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?

Three short sentences, front-loaded with the core purpose, then the input source, then the secondary output. Nothing is redundant and each sentence adds information the agent needs.

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?

An output schema exists, so return values need not be spelled out, and annotations cover the safety profile. The description supplies the remaining context an agent needs: what is resolved, where the node index comes from, and what extra selector information comes back.

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 the schema already explains that 'node' comes from evaluate_part's treatments list, so the description's mention of it largely restates structured data. The script, project and edits parameters are not addressed at all in the description, leaving the schema to carry them entirely.

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?

States a specific verb and resource: 'Show exactly which edges a fillet or chamfer will act on,' with the added scope qualifier that it resolves against the shape before the treatment runs. An agent can tell this is a read-only inspection of a treatment target, distinct from evaluation or selector-checking siblings.

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

Usage Guidelines4/5

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

Gives clear entry conditions ('Takes a node index from evaluate_part's treatments list') and tells the agent what to do with the result ('stable selectors you can use in the script'). It does not name an alternative or state when not to use it, which keeps it below a 5.

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.