Skip to main content
Glama

get_customer

Retrieve detailed customer information including contacts and addresses by providing the customer's unique identifier through the Siigo MCP Server.

Instructions

Get a customer by ID.

Args: customer_id: The customer's GUID

Returns the full customer details including contacts and addresses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customer_idYes

Implementation Reference

  • The handler function implementing the get_customer tool. It uses the Siigo API client to fetch customer details by ID.
    @mcp.tool async def get_customer(ctx: Context, customer_id: str) -> dict[str, Any]: """Get a customer by ID. Args: customer_id: The customer's GUID Returns the full customer details including contacts and addresses. """ return await get_client(ctx).get(f"/customers/{customer_id}")
  • Discovery schema entry for the get_customer tool, providing name, category, and summary.
    {"name": "get_customer", "category": "customers", "summary": "Get a customer by ID"},
  • Registration mapping for customer tools, including get_customer, used in lazy loading for dynamic tool execution.
    # Customers "list_customers": customers.list_customers, "get_customer": customers.get_customer, "create_customer": customers.create_customer, "update_customer": customers.update_customer, "delete_customer": customers.delete_customer,

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/dsfaccini/siigo-mcp'

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