Skip to main content
Glama

ERPNext 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 ERPNext it covers these actions: Create sales invoice, Submit invoice, Create payment entry, List overdue invoices, Create customer.

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: ERPNext.
taskNoWhat the user wants done in the app, in their words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds non-obvious context the annotations cannot convey: it is free and consumes no browser session, it works for any web app with a generic fallback outside the catalog, and it returns the browser to use plus a sign-in link. What is missing is any indication of output size or shape beyond the informal list, which the absence of an output schema makes slightly more costly.

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?

Purpose is front-loaded, but the opening sentence is a single sprawling construction with nested clauses ('now in this chat in the user's Cloud Browser, a Cotlet automation for a job that repeats, or the user's own endpoint...') that takes real effort to parse. The trailing ERPNext action inventory is genuinely useful for routing but reads as appended boilerplate; splitting the three-path enumeration into its own sentence would materially improve it.

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

Completeness5/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 carries the burden of describing returns, and it does: the browser to use, the sign-in link, the step-by-step method, the app's screens/menus/actions, notes, and pointers to dedicated tools. Combined with the usage triggers and the explicit ERPNext coverage list, an agent has everything needed to decide to call it and what to expect back.

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% — both `app` (default ERPNext) and `task` are already documented in the schema, so the baseline is 3. The description adds only a little meaning beyond that: it tells the caller to pass the user's request 'with their words as `task`', which is useful phrasing advice, but gives no guidance on the `app` slug format or what an invalid app yields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: it returns how-to guidance for doing a job in a given app, and explicitly enumerates the three execution paths (this chat's Cloud Browser, a Cotlet automation, or the user's own Custom API endpoint). It distinguishes itself from the browser_* siblings by being the thing to call 'before the first browser step' and from erpnext_* by naming 'the app's dedicated tools when Cotlet has them'.

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?

Gives explicit when-to-use triggers: before the first browser step in an app, 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), and explicitly 'before any web search'. It also states the fallback behavior for apps outside the catalog (general method) and the case where dedicated tools exist.

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