Skip to main content
Glama

Get a catalog item

catalog_item_get
Read-onlyIdempotent

Retrieve a catalog item by sys_id and return usable variable names, labels, types, mandatory flags, choices, and defaults for catalog_order variables.

Instructions

Get one catalog item by sys_id with its variables: name, label, type, mandatory, choices and defaults. Use the variable names as the keys of catalog_order variables. Layout-only and inactive variables are left out.

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": {
      "itemId": "<itemId>"
    },
    "name": "catalog_item_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdYesThe catalog item sys_id (from catalog_search).
instanceNoInstance alias from the config (see instance_list). Defaults to the default instance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuinely useful behavior beyond them: layout-only and inactive variables are excluded, and variable choices and defaults are surfaced. It does not say what happens for an unknown or inactive itemId, which for a lookup tool is a real gap.

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?

Two sentences, front-loaded with the action and resource, then the return shape list. Tight and waste-free; the list of variable attributes is informative rather than filler.

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?

With no output schema, the description usefully enumerates returned fields and the variable-exclusion rule, which is the right compensation. Still missing for a getter whose only required parameter comes from another tool: error/empty-result behavior and confirmation that results are instance-scoped.

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 coverage is 100%, so baseline is 3, but the description goes slightly further by establishing the downstream contract that returned variable names are the keys used in catalog_order variables, which is meaning the schema does not carry. The itemId/instance semantics themselves are left entirely to the schema.

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?

States a specific verb and resource ("Get one catalog item by sys_id") and enumerates what comes back with it (variables: name, label, type, mandatory, choices, defaults). That is enough to separate it from list/search siblings like catalog_search, though no sibling is named for contrast.

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?

Implied usage is clear from the description: fetch a single item's variable schema, then use those variable names as keys when building a catalog_order. However, there is no explicit when-not guidance or directive to route to catalog_search first when the sys_id is unknown; that link exists only inside the schema's itemId description.

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