List products and services

Products and services you can put on an invoice, with price and tax.

MCP tool alegra_read → list_items

read

Lists your products and services with the default price and the tax each one carries. Use item_id as the item of an invoice line. A line may override the price, so the price here is the default only. Pass next_cursor back as cursor for the next page.

Parameters

Parameters: list_items
NameTypeDescription
query string string Part of the name or the reference.
limit integer integer Items per page.
cursor string string Next page cursor from the previous call.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "alegra_read",
    "arguments": {
      "operation": "list_items",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "items": [
      {
        "item_id": "12",
        "name": "Landing page review",
        "reference": "LPR-01",
        "price": 400,
        "tax": {
          "tax_id": "3",
          "name": "IVA 19%"
        }
      },
      {
        "item_id": "15",
        "name": "Setup",
        "reference": "SET-01",
        "price": 150,
        "tax": {
          "tax_id": "3",
          "name": "IVA 19%"
        }
      }
    ],
    "next_cursor": null
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.