Skip to main content
Glama

Get session findings

get_session_findings
Read-only

The session's findings (severity P0 most severe .. P3, file, lines, problem, suggestion, status: open, withdrawn or kept_at_p3, and any answer's verdict; a finding whose answer could not be judged is open again and may be answered) and the state of its latest review: running, done with the price charged, or failed (never charged). Fix what holds, then review_local again; or answer a finding with answer_finding.

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": {
      "repo": "<repo>",
      "session_id": "<session_id>"
    },
    "name": "get_session_findings"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesThe session's repository, "owner/name".
session_idYesThe session_id start_session returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true and destructiveHint=false; the description goes well beyond that by disclosing the severity scale and its ordering, the three status values including the withdrawn/kept_at_p3 distinction, the re-open semantics for unjudgeable answers, and the billing behavior of a review (charged on done, never charged on failure). Those are exactly the operational traits an agent needs before planning a follow-up call.

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

Conciseness3/5

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

The lead clause puts the primary content first and every clause carries information, but the whole definition is one run-on sentence with a deeply nested parenthetical that is hard to parse on a first read. A short split into return shape / review state / next actions would preserve the content and improve scanability.

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 carries the burden of describing return values and does so thoroughly: finding fields, status values, review states, and cost semantics. The remaining gap is ordering or paging of the findings list, which matters if a session can accumulate many findings but is a minor omission overall.

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% and both required parameters (repo as "owner/name", session_id as the value start_session returned) are already documented in the schema. The description adds no additional meaning about either parameter, so the baseline 3 applies.

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?

The description names a specific resource (the session's findings) and enumerates its shape: severity P0..P3, file, lines, problem, suggestion, status. It also states the second thing returned, the state of the latest review (running, done with price charged, failed/never charged). It never contrasts itself with the sibling get_findings, so the session-scoped distinction has to be inferred from the name.

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?

It gives explicit next steps: 'Fix what holds, then review_local again; or answer a finding with answer_finding,' which routes the agent to two concrete alternatives with the condition that selects each. It also states that a finding whose answer could not be judged is open again and may be answered, which is real branching guidance. It still lacks a 'do not use this when...' exclusion or any contrast with get_findings.

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.