Skip to main content
Glama
ShimmyCAD MCP

ShimmyCAD MCP

by ShimmyCane

acad_count_entities

Count AutoCAD model-space entities, optionally filtered by entity type or layer, to assess drawing contents and verify object totals.

Instructions

Count entities in model space, optionally by type and layer.

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

Input Schema

NameRequiredDescriptionDefault
layerNo
entity_typeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the important scoping fact that only model space is counted (not paper space/layouts), which is genuine added value, but says nothing about read-only safety, permissions, or whether nested block contents are included in the count.

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?

A single well-formed sentence with the primary purpose front-loaded and no filler. Its brevity is appropriate, though it borders on under-specification for a zero-annotation, zero-coverage tool.

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?

Only two optional parameters and an output schema exists, so return values need not be described. Still, with no annotations and no schema descriptions, the definition leaves filter value formats and count scope (blocks, xrefs, frozen layers) undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must fully define both optional parameters. It only maps them loosely ('by type and layer') without giving valid entity type values (e.g. LINE, CIRCLE), case sensitivity, or whether layer is an exact name or a pattern.

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?

Specific verb ('Count') plus resource ('entities in model space') with the optional filter dimensions named. It implicitly separates itself from acad_list_entities (count vs. list), though it never names that alternative 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: an agent can infer 'use this when you want a number rather than the entities themselves,' and 'optionally by type and layer' hints at narrowing. There is no stated when-not, no prerequisite, and no explicit routing versus the sibling listing tool.

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

Deploy Server

Other Tools