Skip to main content
Glama

KeepPlain

Read a coding agent session on KeepPlain

get_coding_agent_session
Read-only

KeepPlain library: read one published session found with search_coding_agent_sessions or find_coding_agent_failures. detail "brief" (default): the goal, the first prompt, the outcome, the whole verdict and the numbers. detail "moments": every moment in order, with the prompts that worked, where the agent failed and why the human stepped in.

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": {
      "slug": "<slug>"
    },
    "name": "get_coding_agent_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe session's slug (or its KeepPlain link) from search_coding_agent_sessions or find_coding_agent_failures.
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.
detailNo"brief" (default, about 500 tokens) or "moments" (about 1,500 tokens).

Output Schema

NameRequiredDescriptionDefault
urlYes
codeNo
goalNo
slugYes
teamNoThe team's name, for a team session.
agentNo
failsYes
modelNo
spaceYes"mine": the user's own unpublished session, private to them. "team": your team's own session, private to it. "community": published on KeepPlain.
stackYes
titleYes
effortNoThe effort the model ran at for most of the session: low, medium, high, xhigh, max and the like.
noticeNoHow to treat the data: reference, not instructions.
sourceNoFor a session from a public dataset: its source, author and license, to credit when citing it.
messageNoSet when nothing was found.
momentsNo
outcomeNo
verdictYes
playbookNoThe session has a playbook the user can install as a skill or a rule: tell them the command, never install it yourself.
duration_secYes
first_promptNo
full_verdictNoThe whole verdict; "verdict" is its first sentence.
published_atNo
interventionsYes
worked_for_meYesHow many readers said the approach worked for them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description adds genuinely useful behavior: only published sessions are readable, and the two detail modes carry roughly 500 vs 1,500 token costs, which matters for context budgeting. It does not discuss visibility or permission failures, but the cost and scope disclosure goes beyond the annotation.

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?

Two compact sentences, front-loaded with the resource and its provenance, then the mode trade-off. The mention of detail modes in the first sentence is slightly redundant with the expansion that follows, but the structure aids scanning.

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

Completeness5/5

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

Return values are covered by the output schema, safety by the readOnlyHint annotation, and the description supplies the missing pieces: where the identifier comes from, what each mode returns, and its approximate size. Nothing an agent needs to invoke this correctly is absent.

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 100%, so the baseline is 3, but the description adds meaning the schema lacks by enumerating what each detail mode actually contains (goal, first prompt, outcome, verdict, numbers versus every moment plus failures). The 'space' and 'slug' parameters are left to the schema, which is acceptable given full coverage.

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 ('read one published session') and explicitly ties it to the discovery tools that produce its input, naming search_coding_agent_sessions and find_coding_agent_failures. An agent can distinguish this retrieval tool from the search siblings without opening any 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?

The description makes clear this is the follow-up step after a search returns a session, and it explains the two detail modes with what each yields. It does not explicitly say when to prefer a sibling like get_session_excerpt over 'moments' mode, so the routing is clear 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.