Skip to main content
Glama
Mencoro MCP server

Mencoro MCP server

Create query clusters

create_clusters

Create up to 100 uniquely named query clusters in a project to organize tracked queries; invalid or duplicate names are reported without stopping the rest.

Instructions

Create up to 100 query clusters in a project, the groups tracked queries are organized in. Names are stored lower-cased and must be unique in the project; each name that cannot be created is reported in "failed" without stopping the rest. Assign tracked queries with add_tracked_queries_to_clusters, or let start_auto_clustering propose groups. Pass a fresh requestId and reuse it if you retry.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "organizationId": "<organizationId>",
      "projectId": "<projectId>",
      "names": "<names>"
    },
    "name": "create_clusters"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesYes
projectIdYes
requestIdNoOptional idempotency key, 8-255 printable characters. Reuse it only to retry this same call.
organizationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Discloses behavior well beyond the annotations: names are stored lower-cased, must be unique per project, and failures are per-name and non-blocking ('reported in failed without stopping the rest'). It also explains the idempotency-key retry semantics, which is the key nuance given idempotentHint=false (repeats would otherwise duplicate).

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

Conciseness4/5

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

Three sentences, front-loaded with the core action and limits, then behavioral caveats, then next steps. Dense but every clause carries information; the second sentence is long and could be split for readability.

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 mutation tool with no output schema, it covers failure handling, normalization, limits, and retry guidance. It doesn't describe the overall response shape beyond the 'failed' field, leaving the success payload implicit.

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?

Schema coverage is only 25%, but the description compensates by explaining the normalization and uniqueness rules that govern the names array and the retry semantics for requestId. organizationId and projectId remain undocumented, though they are conventional.

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 (Create), resource (query clusters), and scope (up to 100 per project), plus a plain-language gloss of what a cluster is. An agent can distinguish this from list_clusters, rename_cluster, and the auto-clustering siblings without opening a schema.

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

Usage Guidelines4/5

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

Points to add_tracked_queries_to_clusters for populating clusters and start_auto_clustering as an alternative way to propose groups, and explains the retry contract for requestId. It doesn't explicitly say when to create manually versus using auto-clustering, but the follow-up paths are clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.