Skip to main content
Glama

Read learning suggestions

gate_learn_suggestions
Destructive

Read normalized routes and a suggested per-minute limit from an admin-enabled, time-boxed learning session. Records only method, normalized path templates and counts per minute; no query values, raw ids, headers or bodies. Never enables learning or applies rules. This also deletes learning sessions, route templates and minute counts past their retention deadline across the project.

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": {
      "project_id": "<project_id>",
      "admin_key": "<admin_key>",
      "app": "<app>"
    },
    "name": "gate_learn_suggestions"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app id
admin_keyYesThe project admin key (ga_...). Read it from the .env; never print it.
project_idYesThe project id from project creation on the setup endpoint (/mcp/setup), e.g. p1a2b3...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"The project id from gate_create_project, e.g. p1a2b3..."New value: +"The project id from project creation on the setup endpoint (/mcp/setup), e.g. p1a2b3..."
  2. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing exactly what data is captured (method, normalized path templates, counts per minute) and what is deliberately excluded (query values, raw ids, headers, bodies). It also discloses a non-obvious destructive side effect — retention cleanup of sessions, templates and minute counts across the project — which explains and corroborates destructiveHint=true and readOnlyHint=false rather than contradicting them.

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 tight sentences: capability first, data-scope second, side effects last — a sensible ordering. The destructive retention clause is appended to a 'read' description, which is slightly jarring, but every sentence carries distinct information and none is filler.

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 does the work of indicating what comes back (normalized routes, per-minute counts, a suggested limit). Combined with the disclosed retention deletion and the 'never enables/applies' guardrails, an agent has enough to call it correctly; only the exact response shape remains 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?

All three parameters are fully described in the schema (100% coverage), including how to obtain the admin key and project id, so the description carries no additional parameter burden. The description adds no parameter-level detail beyond that, which is the expected baseline here.

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?

States a concrete verb+resource pair: read normalized routes and a suggested per-minute limit out of a learning session, and scopes the source as 'admin-enabled, time-boxed'. It also distinguishes itself behaviorally from what siblings might do by stating it 'never enables learning or applies rules', though it does not name any specific alternative tool.

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?

The prerequisite for use is implied rather than stated as a rule: a learning session must be admin-enabled and time-boxed, so the agent can infer this only works mid-session. There is no explicit when-to-use/when-not-to-use guidance and no named alternative for reading routes outside a learning session, leaving routing decisions 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