Skip to main content
Glama
theYahia

retailcrm-mcp

by theYahia

get_customer

Read-only

Retrieve a customer by ID or external ID from RetailCRM. Optional detail level includes contact and address data.

Instructions

Get a single customer by id or externalId. Returns a shaped customer; detail:'full' adds address and contact details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
byNoLookup field: 'id' (RetailCRM ID) or 'externalId'id
idYesCustomer ID or externalId to retrieve
rawNoIf true, return the untouched RetailCRM payload (for debugging; verbose).
detailNoOutput verbosity: 'summary' (compact, default — saves tokens) or 'full' (all shaped fields incl. line items, delivery, payments).summary
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds useful behavioral context: results are shaped, and the detail parameter controls verbosity (adding address/contact). This goes beyond the schema and annotations.

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, information-dense sentence. It front-loads the core action (Get a single customer) and efficiently covers key parameters.

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?

The description is complete enough given the tool's simplicity and the rich input schema (4 parameters with full descriptions). It explains the two lookup fields and the detail toggle. No output schema exists, but the description hints at the return shape adequately.

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. The description adds semantic value by explaining that detail:'full' includes address and contact details, which reinforces the enum options. It also clarifies the two lookup methods via the 'by' parameter.

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?

The description clearly states it retrieves a single customer by id or externalId, and mentions the shaped output and detail levels. This distinguishes it from list_customers which returns multiple customers.

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 description implies use for single customer retrieval, but does not explicitly state when to use this tool versus alternatives like list_customers or search tools. No when-not-to-use guidance is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/theYahia/retailcrm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server