Skip to main content
Glama

Knowledge of the stack

get_knowledge
Read-onlyIdempotent

Retrieve the knowledge sheet for a project's framework stacks to learn routing, rules, side effects, and page conventions before reading unfamiliar code.

Instructions

Returns the knowledge sheet of the project's stacks: where the framework puts its routes, rules and side effects, and the conventions the pages follow. Call it once, before reading code of a framework you are unsure of.

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

Input Schema

NameRequiredDescriptionDefault
stackNoA stack root (".", "front") or a knowledge key (symfony-7); every stack when omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.10.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered; the description adds the useful "call it once" hint suggesting cheap repeat calls. It also characterizes the returned content since there is no output schema, though it never describes the sheet's structure or size.

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?

Two sentences with no filler: the payload is described first, the usage rule second. Every clause carries information and nothing is repeated from the title.

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 one-parameter read-only lookup with full schema coverage and rich annotations, this covers purpose, trigger and rough return content. What is missing is only the shape of the returned knowledge sheet, which matters since no output schema exists.

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?

The single parameter has 100% schema description coverage, already explaining stack root vs. knowledge key and the omit-for-all default, so baseline 3 applies. The description's plural "project's stacks" is consistent with the all-stacks default but adds no syntax or format detail beyond the schema.

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?

"Returns the knowledge sheet of the project's stacks" pairs a specific verb with a specific resource and then enumerates the content (route locations, rules, side effects, conventions), which lets an agent predict the payload. It does not explicitly contrast itself with siblings like get_workflow or impact, so it stops short of full differentiation.

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?

"Call it once, before reading code of a framework you are unsure of" gives both a timing condition and a frequency constraint, which is unusually actionable. It offers no when-not case or named alternative for the frameworks the agent already knows.

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