Skip to main content
Glama

Alegra MCP Server and API by Cotlet

Create invoice in Alegra

alegra_create_invoice
Read-onlyIdempotent

Create invoice in the user's own Alegra account from ChatGPT, Claude or any AI agent. Returns how to do it in Alegra step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Alegra Cloud Browser. Alegra's official API: Yes, Alegra has a REST API for invoices, contacts, payments and items (checked 14 Oct 2026).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The description is consistent with the annotations, confirming the operation is inert ('opens nothing by itself') and idempotent by nature of being a read of instructions. That clarification is genuinely valuable given the misleading 'create' name. The trailing 'Alegra's official API: Yes...' sentence adds no behavioral guidance for this tool and instead muddies the picture about whether an API path is expected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core is well front-loaded: what it returns, that it opens nothing, and which tools to use next. But 'from ChatGPT, Claude or any AI agent' is filler, and the final sentence about Alegra's REST API does not help select or invoke this tool, so it fails the 'every sentence earns its place' test.

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

Completeness4/5

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

With no input parameters and no output schema, the description carries the burden of describing the return value, and it does so ('step by step (screens, buttons, fields)'). It also tells the agent the browser tools must do the actual work, which is the key handoff. Minor gaps remain around what the steps look like if the user's account state prevents the flow.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so there is no semantic gap for the description to close; the schema is complete by definition. A baseline 4 is appropriate.

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 names a specific resource and, crucially, corrects the impression created by the tool name: it does not create anything, it 'Returns how to do it in Alegra step by step' and 'opens nothing by itself'. That distinction lets an agent pick it over a real mutator. It never differentiates against the sibling alegra_* tools (email_invoice, record_payment, add_contact), so it falls short of a 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?

It gives a clear follow-up chain: get the steps here, then execute them with the cotlet_browser_* tools in the Alegra Cloud Browser. What is missing is when NOT to use it or which alegra_* sibling handles adjacent invoice tasks, leaving the agent to infer routing among the other Alegra tools.

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.

Resources