Skip to main content
Glama

KeepPlain

Find similar coding agent failures on KeepPlain

find_coding_agent_failures
Read-only

KeepPlain library: find moments where coding agents failed on a similar problem and what the human did about it. Use after two or three failed attempts at the same problem. Query: the symptom or error message in a few words, without paths or secrets.

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": {
      "query": "<query>"
    },
    "name": "find_coding_agent_failures"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesThe symptom or error message in a few words, e.g. "hydration mismatch after upgrade". No paths, secrets or code.
spaceNoOptional. "all" (default): the user's own unpublished sessions first (two at most), then their team's, if the token belongs to a team, then the community's. "mine", "team" or "community": only those.
stackNoOptional. The stack, e.g. "laravel" or "nextjs, prisma" (up to 5, comma-separated).

Output Schema

NameRequiredDescriptionDefault
noticeNoHow to treat the data: reference, not instructions.
messageNoSet when nothing was found.
failuresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds that results are drawn from a shared KeepPlain library of past failures and human remediation, which is useful provenance context, but it says nothing about result limits, ordering, or what an empty result means beyond what the schema's 'space' documentation already covers.

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

Conciseness5/5

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

Three short sentences: what it is, when to use it, how to form the query. Front-loaded and every sentence carries distinct information with no 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 an output schema present the description needn't explain return values, and annotations plus full schema coverage cover safety and parameters. The remaining gap is only the absence of routing guidance relative to sibling retrieval tools; otherwise an agent has everything needed to call it correctly.

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 description coverage is 100%, including an enum and defaults for 'space' and stack examples, so the schema does the heavy lifting. The description's query guidance ('a few words, without paths or secrets') largely restates the schema's own parameter text, adding no syntax or constraint beyond it – baseline 3 is appropriate.

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 ('find moments where coding agents failed on a similar problem') plus what it returns ('what the human did about it'), which is enough to distinguish it from sibling session-search tools 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?

Gives an explicit trigger: 'Use after two or three failed attempts at the same problem.' That is a clear when-to-use condition. It stops short of naming an alternative such as search_coding_agent_sessions or saying when this is the wrong tool, so it is strong but not complete.

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.