Skip to main content
Glama

Get record

get_record
Read-only

Retrieve one AtroPIM record by entity type and ID, optionally selecting fields or adding attribute values as flat fields for detailed entity data.

Instructions

Get one record with all fields. Set withAttributes to include attribute values as flat fields.

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_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord ID
entityYesEntity type, e.g. Product, Category, Brand, File. Use list_entities to discover.
selectNoFields to return. Defaults to a compact set; see describe_entity.
languageNoLocale for multilingual fields, e.g. de_DE
withAttributesNoInline attribute values (entities with attributes only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

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 and openWorldHint=false, so safety is covered. The description contributes output-shape context (all fields, flat attribute fields when toggled) but says nothing about behavior when the record does not exist or how locale resolution affects returned values.

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?

Two short sentences, front-loaded with the core action and followed by the one non-obvious parameter behavior. No filler, no restatement of the title beyond the necessary action.

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 should describe what comes back; it says 'all fields', yet the schema states select defaults to a compact set, leaving an unresolved tension about default return shape. It is usable for a simple single-entity read but does not fully close that gap or cover not-found behavior.

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 coverage is 100%, so the baseline is 3; the schema already documents id, entity, select, language, and withAttributes. The description adds only a small clarification of what withAttributes produces ('attribute values as flat fields'), which is marginally more concrete than the schema's 'Inline attribute values'.

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 record') plus the returned scope ('with all fields'), which separates it from list-style siblings like search_records and list_related_records. It does not name or differentiate from get_attribute_values or describe_entity, so it stops short of a 5.

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?

The description gives no when-to-use or when-not-to-use guidance and never routes the agent to alternatives such as get_attribute_values or global_search for lookup-style retrieval. The only conditional sentence is about a parameter toggle, not about tool selection.

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