Skip to main content
Glama

cad_performance_snapshot

Read the current CAD document path, token, state, object count and graphics/preview variables to capture a performance snapshot without changing settings, scanning or benchmarking.

Instructions

Read current path/token, save state, object count and supported graphics/preview variables. No settings change, scan, benchmark, save or restart. Read timings do not measure mouse interaction.

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": {
      "document_token": "<document_token>"
    },
    "name": "cad_performance_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it well: it declares the operation read-only in effect, enumerates side effects that are explicitly absent (no change, save, or restart), and adds a genuine caveat that read timings exclude mouse interaction. It omits prerequisites (whether a document must be open) and the return shape, so it is not fully complete.

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

Conciseness4/5

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

Three short sentences, front-loaded with what is read, then scope exclusions, then the timing caveat. No filler. The phrasing is telegraphic enough that some clauses ('save state') require interpretation, which slightly undercuts clarity.

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

Completeness4/5

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

For a single-parameter read tool with no output schema and no annotations, the definition covers purpose, non-mutation, and a measurement caveat. The remaining gaps are prerequisites and the exact meaning of 'save state', both minor for a snapshot read.

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?

There is one parameter, document_token, at 0% schema description coverage, so the description must compensate. It mentions 'path/token' once, which hints that the token identifies the document to snapshot, but it does not state whether the token must refer to the active document or how to obtain one. That is only partial compensation for the coverage gap.

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 verb 'Read' is paired with a concrete list of what is returned: path/token, save state, object count, and supported graphics/preview variables. That is specific enough to act on, but the description never uses the word 'performance' or 'snapshot', so nothing distinguishes it from cad_delivery_snapshot or cad_presentation_snapshot, which appear to be sibling variants of the same pattern.

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?

The description gives clear exclusion guidance: 'No settings change, scan, benchmark, save or restart' tells the agent this is not the tool for those operations. It does not name an alternative tool for the excluded cases, which keeps it below a 5, but the context is unambiguous.

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