Skip to main content
Glama

Mode Analytics MCP Server and API by Cotlet

Edit query in Mode Analytics

mode_analytics_edit_query
Read-onlyIdempotent

Edit query in the user's own Mode Analytics account from ChatGPT, Claude or any AI agent. Returns how to do it in Mode Analytics step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Mode Analytics Cloud Browser. Mode Analytics's official API: Mode has a REST API, but only for Workspaces on a paid plan, and it signs in with a token: a Workspace token an Admin creates, or a member token that expires after 90 days once an Admin turns member tokens on; Mode offers no official MCP server (checked 5 Nov 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": "mode_analytics_edit_query"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds useful context beyond that: it returns step-by-step UI instructions, performs no action itself, and requires browser tools to carry out the edit.

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

Conciseness2/5

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

The core purpose and next step are stated early, but the final sentence is a long tangent about Mode's official API, Workspace tokens, member token expiry, and MCP availability. That information does not help an agent select or invoke this zero-parameter tool.

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?

For a zero-parameter read-only guide tool with no output schema, the description adequately explains what it returns (screens, buttons, fields), that it does not act on its own, and what tools to use next. The main remaining gap is lack of differentiation from sibling guide and analytics tools.

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 has zero parameters, so there are no parameter semantics to explain. The schema is empty and the description appropriately does not invent parameter details.

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

Purpose3/5

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

The description says it will 'Edit query' but then clarifies it only 'Returns how to do it ... and opens nothing by itself.' That is a meaningful distinction, but the name/title and opening sentence suggest the tool performs the edit, creating ambiguity about its actual purpose.

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 next step: use the cotlet_browser_* tools after getting instructions. However, it does not say when to choose this over sibling tools like cotlet_app_guide or the other mode_analytics_* tools, leaving selection guidance incomplete.

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