Skip to main content
Glama

Update session report

update_session_report
Idempotent

Edit the text of an existing session report (use save_session_report to create a new one for a session that doesn't have one yet).

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": {
      "report_id": "<report_id>",
      "raw_text": "<raw_text>"
    },
    "name": "update_session_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
raw_textYes
report_idYes
input_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=false), so the agent knows this is a non-destructive, repeatable write. The description adds that the scope is limited to the report text, but it does not say whether raw_text replaces the existing body wholesale or merges, nor what happens when report_id is unknown. Useful context, but the mutation semantics remain undisclosed.

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?

A single front-loaded sentence with the routing hint in a parenthetical; no filler. It could be slightly sharper about overwrite behavior in the same breath, but nothing here is wasted.

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

Completeness3/5

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

For a three-parameter mutation tool with no output schema and zero schema descriptions, the definition covers only the edit-vs-create decision. It leaves the input_type enum, overwrite semantics, and the failure case for a missing report_id entirely to the agent's guesswork.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it only implicitly gestures at raw_text ('the text') and report_id ('existing session report'). The input_type enum (text vs voice) is never mentioned, and there is no guidance on whether raw_text is a full replacement or a delta.

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?

The description gives a specific verb ('Edit') and a precisely bounded resource ('the text of an existing session report'), and it explicitly carves out the sibling it is not (save_session_report, for sessions with no report yet). An agent can distinguish create-vs-edit without opening either schema.

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

Usage Guidelines5/5

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

It states both sides of the routing decision: use this when the report already exists, and use save_session_report when the session doesn't have one yet. The alternative is named alongside the condition that selects it, leaving nothing 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