Skip to main content
Glama

Alegra MCP Server and API by Cotlet

Cotlet: how to work in an app

cotlet_app_guide
Read-onlyIdempotent

How to do a job in an app with Cotlet, and which way fits it: now in this chat in the user's Cloud Browser, a Cotlet automation for a job that repeats, or the user's own endpoint (Custom API) for another tool or code. Gives the browser to use and the sign-in link, the method step by step, the app's screens, menus and actions, notes, and the app's dedicated tools when Cotlet has them. Call it before the first browser step in an app, and first whenever the user asks how to do something in an app or how to connect it to another tool (Make, Zapier, n8n, a CRM, their code), with their words as task, before any web search. Works for any web app; one outside Cotlet's catalog gets the general method. Free, no browser session. For Alegra it covers these actions: Create invoice, Email invoice, Record payment, Add contact, List unpaid invoices.

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": "cotlet_app_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoThe app's name or Cotlet slug. Default: Alegra.
taskNoWhat the user wants done in the app, in their words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotent, non-destructive), but the description adds non-obvious facts beyond them: it is free, it opens no browser session, and it returns the browser to use, a sign-in link, step-by-step method, screens/menus/actions, notes, and any app-specific dedicated tools. It also discloses the degraded case for uncatalogued apps. Slightly short of 5 because it does not say what happens on an unknown app name or how coverage boundaries are reported.

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 guidance is front-loaded and every clause carries information, but the first sentence is an overstuffed run-on with parallel lists that slows parsing. The trailing 'For Alegra it covers these actions' list is useful scope information appended in a way that reads like an afterthought rather than integrated structure.

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 output schema, the description correctly takes on the burden of describing what comes back (browser, sign-in link, steps, screens/actions, notes, dedicated tools). Combined with usage triggers and the catalog-vs-general-method distinction, an agent has enough to call it correctly; only error/unknown-app behavior is left unstated.

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?

Schema coverage is 100% for both parameters and the description largely restates the schema: `task` in the user's words and `app` defaulting to Alegra. The one added detail is that `app` accepts an app outside Cotlet's catalog and returns a general method, which the schema's maxLength/slug wording does not convey. Baseline 3 is correct given the schema does the heavy lifting.

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 (a how-to guide for doing a job in an app with Cotlet) and enumerates the three execution paths it routes between: in-chat Cloud Browser, a repeating Cotlet automation, or the user's own Custom API endpoint. That distinguishes it from the cotlet_browser_* action siblings, though the opening sentence is a long run-on that buries the core 'what it does' behind the mode enumeration.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit triggers are given: call it before the first browser step in an app, and first whenever the user asks how to do something in an app or how to connect it to another tool (Make, Zapier, n8n, a CRM, code), explicitly 'before any web search'. It also states the input contract ('with their words as `task`') and the fallback path for apps outside the catalog, leaving little to inference.

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