Skip to main content
Glama

learning_query

Read-only

Retrieve concise positive and negative lessons learned by project, scope, role, or query before dispatching work or when blocked.

Instructions

Query concise 6-field positive/negative lessons learned before dispatching or when blocked.

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_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNo
limitNo
queryNo
scopeNo
projectNo
include_commonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile needs no restating. The description adds that results are pre-digested "concise 6-field" lessons split into positive and negative, which is a useful hint about output shape. It says nothing about result ordering, whether retrieval is ranked or filtered, or how empty results behave, so the addition is modest.

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?

One tight sentence with the verb front-loaded and the usage triggers attached, so nothing is wasted. The phrase "6-field" is slightly cryptic in isolation, but it is compact rather than padded.

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

Completeness2/5

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

For a six-parameter tool with no output schema, the definition is thin: it doesn't identify the six fields, doesn't explain interaction between the filtering parameters, and gives no sense of result volume or limiting behavior. Annotations cover safety, but the invocation-side gaps remain substantial.

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

Parameters1/5

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

Six parameters exist with 0% schema description coverage, so the description carries the full burden of explaining them, and it does not mention a single parameter by name. It never clarifies what distinguishes "query" from "scope" from "project", what "include_common" toggles, or how "role" (the one enum) changes results. An agent must guess at nearly all invocation semantics.

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 description names a specific verb ("Query") and resource ("lessons learned") and characterizes the content as concise, 6-field, positive/negative lessons. That is enough for an agent to distinguish it from board_read, handoff, and the other status-oriented siblings, which have no obvious overlap with lessons retrieval. It stops short of explicitly contrasting itself with any named alternative.

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?

It gives two concrete triggering moments: "before dispatching" and "when blocked." That is real when-to-use guidance rather than implied usage. It offers no exclusions or named alternatives, and doesn't say whether calling it is mandatory before dispatch or merely advisable.

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