Skip to main content
Glama

Get Customer

get_customer
Read-onlyIdempotent

Retrieve a customer record with contacts, recent interactions, and open tasks to give AI complete context for support or account decisions.

Instructions

Get a single customer with their contacts, recent interactions, and open tasks.

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": {
      "customer_id": "<customer_id>"
    },
    "name": "get_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
customer_idYesCustomer UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuine value by disclosing that the result is an aggregate including contacts, recent interactions, and open tasks — a trait not visible in the schema. It does not define how far back 'recent' reaches or what happens when the customer is not found, leaving those behaviors opaque for a tool with no output schema.

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?

One sentence, front-loaded with the verb and resource, with the payload contents following immediately. Every clause carries information and there is no filler or repetition of the title.

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 full annotation coverage and full schema coverage, the description supplies the one thing structured data cannot: what the response contains. The remaining gap is minor — undefined recency windows and no not-found behavior — but not enough to prevent correct invocation.

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% and the single parameter is documented in the schema as 'Customer UUID' with a uuid format. The description adds no further meaning about the identifier (e.g., where to obtain it or whether it accepts external IDs), so the baseline 3 applies.

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?

The description uses a specific verb and resource ('Get a single customer') and the word 'single' implicitly contrasts with the list_customers and search_customers siblings. It stops short of naming those siblings explicitly, so an agent must infer the distinction rather than being routed to the right tool directly.

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?

Usage is only implied: 'a single customer' suggests a known customer_id lookup rather than a browse/search operation, which is consistent with the required UUID parameter. There is no explicit statement of when to prefer this over search_customers or list_customers, and no guidance on what to do when the ID is unknown.

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

Deploy Server

Other Tools