Skip to main content
Glama

get_product

Retrieve detailed product information including prices and taxes from the Siigo Colombian invoicing system by providing the product's unique identifier.

Instructions

Get a product by ID.

Args: product_id: The product's GUID

Returns the full product details including prices and taxes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idYes

Implementation Reference

  • The @mcp.tool decorated handler function that implements the get_product tool logic by retrieving a product by ID from the Siigo API.
    @mcp.tool async def get_product(ctx: Context, product_id: str) -> dict[str, Any]: """Get a product by ID. Args: product_id: The product's GUID Returns the full product details including prices and taxes. """ return await get_client(ctx).get(f"/products/{product_id}")
  • Registration mapping the tool name 'get_product' to the products.get_product function in the lazy-loaded tool functions dictionary.
    "get_product": products.get_product,
  • Discovery schema entry for 'get_product' in TOOL_INDEX, used by list_siigo_tools to describe the tool's name, category, and summary.
    {"name": "get_product", "category": "products", "summary": "Get a product by ID"},

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