Skip to main content
Glama

get_part_class

Read-only

Get a part class by ID, including styles.

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": {
      "partClassId": "<partClassId>"
    },
    "name": "get_part_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
partClassIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description contributes one genuinely useful behavioral fact beyond that: the response embeds styles rather than returning a bare part class. It says nothing about error behavior for missing IDs, which matters for a lookup tool with annotations this thin.

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?

A single short sentence with zero filler, and the most informative detail (styles included) is present rather than buried. Nothing could be removed without losing meaning.

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 one-parameter read tool with annotations and no output schema, this is close to adequate, and the note about styles helps. However, it omits how to obtain a partClassId and what occurs on a failed lookup, leaving an agent to guess at the two things most likely to cause a bad call.

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 0%, so the single parameter partClassId is undocumented in the schema beyond type integer with exclusiveMinimum 0. The phrase "by ID" confirms the parameter's identity role but adds no constraints, no guidance on sourcing a valid ID, and no hint that the value must be a positive integer.

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?

"Get a part class by ID" states a specific verb and resource, and adds that styles are included in the result. It does not explicitly distinguish itself from get_part, get_style, or list_part_classes, though the get_/list_ naming pattern makes the distinction largely self-evident.

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 guidance, no mention of list_part_classes as the way to discover IDs, and no statement about what happens if the ID does not exist. Usage is only inferable from sibling naming conventions.

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