Skip to main content
Glama
deep-agentic-core-mcp

deep-agentic-core-mcp

Official

Session State

core.session_state
Read-only

Inspect artifacts and call history accumulated in a session to trace past tool calls and review stored outputs, helping debug and audit agent workflows.

Instructions

Inspect the artifacts and call history accumulated in a session.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "core.session_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idNoSession to read/write shared state under. Defaults to 'default'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile needs no restating. The description adds useful scope by naming the two things read back (artifacts and call history), but it says nothing about retention, history volume, or whether the result can be large enough to need truncation, which matters for a session-inspection tool.

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 no filler or redundant phrasing. It is efficient, though its brevity is also the source of the missing usage and behavioral detail scored elsewhere.

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 one-parameter, read-only inspection tool with full annotation coverage, the core is covered, but there is no output schema, so the description is the only source for what "artifacts" actually means and what a caller receives. An extra sentence on return shape or limits would make it complete.

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 coverage is 100%: session_id is documented, including that it defaults to 'default', and it is the only parameter. The description adds no meaning beyond that, not even naming session_id, so this sits exactly at the baseline where the schema does all the work.

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?

States a specific verb ("Inspect") and a specific resource ("artifacts and call history accumulated in a session"), which is enough for an agent to know what comes back. It stops short of distinguishing this from diagnostic siblings such as lens.diagnose_run or core.report_recall, so it is clear but not differentiated.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance: no prerequisites, no condition selecting it over alternatives, and no exclusion of cases where another tool is better. The read-only framing is only implied by "Inspect," and that implication is carried by the annotations rather than by the text.

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