Skip to main content
Glama

learning_state

Retrieves a learning session to show current progress and next steps; search by title or goal when no session ID is available, or request a summary-only status view.

Instructions

找回学习会话。无 session_id 时可按标题或目标搜索。有 session_id 时可用 summary_only=true,只取当前进度和下一步。

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": "learning_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
session_idNo
summary_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that lookup can be by title or goal and that summary_only narrows the payload to current progress and next step, but it does not state whether the tool is read-only (implied only), what the full non-summary return contains, or what happens when both query and session_id are provided.

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?

Three short sentences with the core action front-loaded, followed by two mode-specific hints. There is no filler; the slight loss is that the opening phrase is terse enough to leave the exact returned object unspecified.

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?

With four parameters, no annotations, and no output schema, the description should describe the shape of a returned session state. It covers the mode switches well but says nothing about the default full payload, the limit parameter, or precedence when multiple filters are combined.

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 0%, so the description must compensate for all four parameters. It explains query (title or goal), session_id, and summary_only meaningfully, but leaves limit entirely undocumented, so compensation is substantial yet incomplete.

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 first sentence names a specific verb and resource (retrieve a learning session), and the following sentences clarify two lookup modes. It is clear what the tool does, though it does not distinguish itself from siblings like session_open or resume_session, which could plausibly return similar state.

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 gives concrete conditional guidance: omit session_id to search by title or goal, supply session_id to fetch a specific session, and add summary_only=true for a condensed view. What is missing is any exclusion or comparison to sibling tools, so the agent must infer when to prefer this over session_open.

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