Skip to main content
Glama

get_learning_goal

Retrieve the most recently saved learning goal for a session to identify the current tutoring target.

Instructions

Return the most recently saved learning goal for a session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It communicates a read-only retrieval action and clarifies the recency and session scoping, but it does not state what happens when no learning goal has been saved or whether an empty result is returned.

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

Conciseness5/5

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

One tight sentence with no filler. The action and object are front-loaded, and the recency qualifier is placed immediately where it matters.

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?

Given the tool's simple shape and single parameter, the description is mostly adequate: it names the returned resource and its scope. However, with no output schema and no annotations, it would be more complete if it clarified no-goal behavior or the return form.

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

Parameters4/5

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

The input schema only provides 'Session Id' with no description, and schema coverage is 0%. The description's 'for a session' maps session_id to the session whose most recent goal is fetched, adding essential meaning beyond the schema. It is sufficient for a single required string parameter.

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 and resource: 'Return the most recently saved learning goal for a session.' The phrase 'most recently saved' adds precise scope and distinguishes this getter from the sibling save_learning_goal; an agent can tell what it does.

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 clear context: use this when you need the latest saved learning goal for a given session. It does not explicitly name alternatives or exclusion criteria, but for a simple retrieval tool no competing sibling is obvious, so the implicit usage guidance is clear.

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