Skip to main content
Glama

ProtoJoint

Read a sketch

get_sketch
Read-onlyIdempotent

Returns a sketch: its plane, every entity with its id and coordinates, constraints and dimensions (with names like d1), remaining degrees of freedom, and its closed profiles with index, area and a point inside.

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": {
      "sketch_id": "<sketch_id>"
    },
    "name": "get_sketch"
  }
}

Input Schema

NameRequiredDescriptionDefault
sketch_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile needs no restating. The description instead spends its budget on the one thing annotations cannot carry: the exact shape of the returned data, including the naming convention for dimensions ("d1"), the DOF count, and profile fields (index, area, interior point). It does not discuss error cases for an invalid sketch_id or the cost/size of a large sketch dump.

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 with the resource stated first, followed by a compact enumeration of return fields. Every clause carries information and there is no filler or marketing language. It is dense — one long sentence with nested parentheticals — but still parseable.

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?

There is no output schema, so the description bears the full burden of describing return values, and it does so thoroughly enough for an agent to plan downstream use of the result. What remains missing is how to source the sketch_id and what happens on failure or on very large sketches. For a one-parameter read tool with full annotation coverage, that is a minor gap.

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% and there is one required parameter, sketch_id, typed only as an integer with no prose. The description never mentions the parameter at all — no statement of what a sketch id refers to, where an agent obtains one (e.g., from get_document), or whether it is a global or document-scoped identifier. With zero schema documentation, the description was the only place this could be supplied and it is absent.

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 opens with a specific verb and resource ("Returns a sketch") and enumerates exactly what a sketch consists of: plane, entities with ids and coordinates, constraints, dimensions, DOF, and closed profiles. That makes the tool's scope unmistakable versus write-side siblings such as create_sketch. It stops short of naming how it differs from adjacent readers like get_feature or get_document, so it is clear but not fully sibling-differentiated.

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, and no alternative is named. An agent must infer from the name that this is the read-side counterpart of create_sketch and is the right call when sketch geometry, constraints, or profile data are needed. The description is purely a content inventory, not routing advice.

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.

Resources