Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_get_edge_info

Retrieves edge details—type, length, and start/end points—for a specified FreeCAD object, optionally for one edge index. Use it to inspect geometry before modeling or editing.

Instructions

Get information about edges of an object (type, length, start/end points)

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": {
      "objectName": "<objectName>"
    },
    "name": "freecad_get_edge_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgeIndexNoSpecific edge index (1-based). If omitted, returns info for all edges.
objectNameYesName of the object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/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. 'Get' implies a read-only, non-mutating operation and the parenthetical discloses what data comes back, but there is no mention of units, coordinate frame, or what happens when objectName is invalid or the object has no edges.

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 front-loaded sentence naming the resource and its returned fields, with no filler. It is terse but every word earns its place; the only weakness is that terseness leaves the guidance gaps above.

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 simple two-parameter read tool with no annotations and no output schema, the description partially compensates by listing return fields, but the omission of units and coordinate conventions leaves the return values underspecified relative to a geometry-inspection task.

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%, so both objectName and the optional edgeIndex (1-based, all edges when omitted) are already fully documented in the schema. The description adds no parameter meaning beyond that, which is the expected baseline.

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+resource ('Get information about edges of an object') and enumerates the returned attributes (type, length, start/end points), which is more than a restatement of the name. It does not, however, distinguish itself from sibling introspection tools like freecad_get_face_info or freecad_get_object_info.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of when to prefer freecad_get_face_info or freecad_get_object_info, and no stated preconditions (e.g., that objectName must reference an existing edge-bearing shape). Usage is only inferable from the tool name.

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