Skip to main content
Glama

session_save

Save morning briefing or daily market analysis summaries to a local session archive for future reference.

Instructions

Save generated session brief markdown or analysis summary to local session archive (~/.tradingview-mcp/sessions/YYYY-MM-DD.json). WHEN TO USE: Call after completing a morning briefing or daily market analysis to archive observations for future reference. SIDE EFFECTS: EXTERNAL_SIDE_EFFECT (Writes session JSON file to local disk). LIMITATIONS: None.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate string YYYY-MM-DD. Defaults to today.
briefYesThe brief text to save (output from morning_brief after Claude applies the rules).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares EXTERNAL_SIDE_EFFECT, specifies a local disk write, names the exact file naming scheme, and states limitations. It omits whether a save overwrites an existing same-date file, which is the main unresolved behavior.

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?

Labeled sections (WHEN TO USE, SIDE EFFECTS, LIMITATIONS) front-load the essential action and destination. Efficient overall, though 'LIMITATIONS: None' is filler that adds no information.

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?

For a 2-parameter write with no output schema, the definition covers purpose, trigger condition, destination, and side effects. Gaps are minor: overwrite semantics and any confirmation of success are not described.

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%, so the schema already documents both 'date' and 'brief' including defaults and provenance. The description adds nothing beyond that, so the baseline 3 applies.

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 (save) and resource (session brief/analysis summary) and gives the concrete destination path (~/.tradingview-mcp/sessions/YYYY-MM-DD.json). This clearly separates it from the sibling session_get, which reads rather than writes.

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?

An explicit WHEN TO USE clause ties invocation to completing a morning briefing or daily market analysis, which maps to the sibling morning_brief and archiving intent. It stops short of stating when NOT to use it (e.g. re-saving vs first save).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.