Skip to main content
Glama

Get attribute values

get_attribute_values
Read-only

Retrieve attribute values and names for a specific record by entity type and ID, with an optional language locale for multilingual fields.

Instructions

Get the attribute values of a record (Product and other entities with attributes), with attribute names.

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": {
      "entity": "<entity>",
      "id": "<id>"
    },
    "name": "get_attribute_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord ID
entityYesEntity type, e.g. Product, Category, Brand, File. Use list_entities to discover.
languageNoLocale for multilingual fields, e.g. de_DE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. Beyond that the description only adds that attribute names accompany values; it says nothing about missing attributes, multilingual fallback behavior, or error cases.

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?

One short sentence with no filler; the core purpose is front-loaded. The trailing 'with attribute names' clause is slightly awkward but carries the only real added information.

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?

The schema is rich and annotations cover read-only safety, but with no output schema the description should say what the return value looks like (e.g. name/value pairs, empty when absent). That gap keeps it at minimum-viable rather than complete.

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 entity, id, and language are fully documented in the schema (including the list_entities discovery hint). The description adds no meaning beyond that, which is the expected baseline here.

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?

Names a specific verb ('Get') and resource ('attribute values of a record') and scopes it to entities with attributes such as Product. It is reasonably distinguishable from get_record, though it never states that contrast explicitly.

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?

The phrase 'with attribute names' implies the use case (resolving attribute values to human-readable names), but there is no when-to-use guidance, no mention of get_record or describe_entity as alternatives, and no exclusion conditions.

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