Skip to main content
Glama
Hemakrishna7406

Agent Studio — WooCommerce Private Connector

get_customer

Fetch a WooCommerce customer by ID to get order count and lifetime spend.

Instructions

Fetch a single customer by id (orders count, lifetime spend).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customer_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the return payload shape (orders count, lifetime spend), which is genuinely useful, but says nothing about missing-customer behavior, errors, auth requirements, or whether the lookup is cached/read-only.

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 front-loaded sentence with the resource and its key return fields, zero padding, and no restatement of the tool name.

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?

For a simple one-parameter read tool with no output schema, the description covers the essentials and even hints at return contents. It is still thin on error/not-found behavior and prerequisites, which the absent annotations do not cover elsewhere.

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 0% and the sole parameter is only identified as 'Customer Id' with type integer. The description's 'by id' reiterates the schema property name without adding format, source, or validity constraints, so it only marginally compensates for the coverage gap.

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 (Fetch) and resource (a single customer) scoped to an id lookup, which cleanly separates it from get_order, get_product, and the list_* siblings. It does not explicitly name or contrast with those siblings, so it lands at 4 rather than 5.

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 'by id' implies the precondition that the caller already has a customer identifier, so usage is inferable. However, there is no explicit statement of when to use this versus list_orders/search_products or any exclusion, leaving the routing decision to inference.

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