Skip to main content
Glama

Smaregi MCP by usefulapi

Get customer

smaregi_get_customer
Read-only

One customer by id, optionally with the contract's custom fields. Contains personal data. GET /customers/{customer_id}.

Input Schema

NameRequiredDescriptionDefault
fieldsNoComma-separated top-level field names to return (e.g. productId,productName); fewer fields = smaller replies.
customer_idYesNumeric Smaregi id (string or number).
with_custom_fieldsNoAdd the custom field values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

While annotations cover readOnlyHint, the description adds crucial behavioral context not present in the structured data: it discloses that the data 'contains personal data' (a sensitivity requirement) and specifies the exact API endpoint format ('GET /customers/{customer_id}').

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?

The definition is extremely concise, using two short, highly efficient sentences to cover the core function, the optional data behavior, and the technical method/resource path without any filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that this is a simple GET operation, the description provides all necessary context: it retrieves a single entity, uses a customer ID, handles optional custom field expansion, and flags the nature of the data. No critical information is missing.

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?

Since the input schema coverage is 100%, the structured schema provides comprehensive semantic definitions for all parameters. The description does not add any clarifying meaning or constraints to the specific parameters.

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 clearly identifies the action ('Get'), the resource ('customer'), and the primary retrieval method ('by id'). It effectively distinguishes this single-fetch operation from list operations present in the sibling tools.

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 usage: use this when a specific customer ID is known. However, it does not explicitly state 'use this instead of list_customers' or provide clear exclusionary criteria for other retrieval methods.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.