Skip to main content
Glama

get_series

Retrieve a series’ spec fields, selectable values, numeric ranges, and 3D CAD availability by series code from search_parts; use the summary to choose options before resolving a full part number.

Instructions

讀取一個系列的規格欄與可選值,以及它有沒有 3D CAD。

series_code 是 search_parts 取得的系列代碼。回傳系列名稱、品牌、分類、has_3d_cad、 specs(每個規格欄的 spec_code、名稱、單位、可選的 values;子值的 label 是「父值 / 子值」; 可輸入數值的欄位另有 numeric.ranges 的 min/max/step),以及規格表的純文字摘要 spec_summary。要依規格組出完整型號,用 resolve_part_number。

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": {
      "series_code": "<series_code>"
    },
    "name": "get_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
series_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

There are no annotations or output schema, so the description carries the full load, and it does substantial work: it enumerates the returned fields (name, brand, category, has_3d_cad, specs, spec_summary), explains the sub-value label format 'parent / child', and notes numeric.ranges with min/max/step. It does not explicitly state that the call is side-effect free or describe error behavior for an invalid series_code.

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?

The purpose is front-loaded in the first sentence, followed by parameter provenance and then return-value detail. Dense but every clause adds information; the run-on final paragraph is slightly harder to scan than a bulleted return list would be.

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 annotations and no output schema, the description covers what is returned, how nested spec values are labeled, and which sibling to use for the downstream task. Only auth requirements and failure modes are left unaddressed, which are minor for this shape of tool.

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

Parameters4/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 compensate, and it does by defining series_code as the identifier obtained from search_parts, which tells the agent where the value comes from. It does not give a format example or state what happens if the code is unknown.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: it reads a series' specification fields and allowed values plus whether it has 3D CAD. The final sentence distinguishes it from resolve_part_number, which is for assembling a full model number, so an agent can route between the two without opening schemas.

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?

States that series_code comes from search_parts, which establishes the prerequisite workflow (search first, then read the series), and explicitly routes model-number assembly to resolve_part_number. No explicit exclusion or 'do not use when' condition is given, so it stops just short of full when/when-not guidance.

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