Skip to main content
Glama

Gorgias MCP Server and API by Cotlet

Apply macro in Gorgias

gorgias_apply_macro
Read-onlyIdempotent

Apply macro in the user's own Gorgias account from ChatGPT, Claude or any AI agent. Returns how to do it in Gorgias step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Gorgias Cloud Browser. Gorgias's official API: Gorgias has a full REST API (checked 17 Oct 2026) and a Gorgias-hosted MCP server in open beta since May 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": "gorgias_apply_macro"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, and the description is consistent with them by stating it opens nothing by itself. It adds real behavioral value beyond annotations by specifying what is returned (step-by-step screens/buttons/fields) and what the agent is expected to do next. The closing sentence about Gorgias's REST API and MCP beta is irrelevant filler rather than behavior disclosure.

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 front-loaded and efficient: what it returns, that it has no side effects, and the next step. But 'from ChatGPT, Claude or any AI agent' is padding, and the trailing sentence about Gorgias's official REST API and open-beta MCP server earns no place in an invocation description.

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

Completeness3/5

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

With zero parameters and no output schema, the description covers the essentials: return shape is described as step-by-step guidance and the follow-up browser workflow is named. It is silent on a key practical point — how the specific macro is identified when the tool accepts no arguments — leaving an agent to guess how to scope the request.

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?

The tool takes zero parameters with 100% schema coverage, so there is no parameter meaning for the description to add. Baseline for a no-parameter tool applies.

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 makes clear that despite the name 'apply_macro', the tool performs no mutation: it returns step-by-step Gorgias instructions (screens, buttons, fields) and 'opens nothing by itself'. That is a specific and usable statement of purpose, and the follow-up browser-tool workflow distinguishes it from a true executor. It does not explicitly contrast with siblings like gorgias_edit_macro, so it stops short of 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?

Usage is implied through the sequence 'get instructions here, then act with cotlet_browser_* tools', which is useful routing context. However, there is no statement of when to choose this over gorgias_edit_macro or other ticket tools, and no preconditions (e.g., which macro, whether a browser session must be open) are given.

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