Skip to main content
Glama

LemmaField

get_dependencies

Read-onlyIdempotent

Retrieve the prerequisite closure. Each edge distinguishes checked kernel use, an immutable import, an editorial prerequisite or research context.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesImmutable public Lemmafield record ID.
modeNoproof

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare this as a read-only, idempotent, closed-world, non-destructive operation, so the safety profile is covered. The description's real added value is the edge taxonomy (checked kernel use, immutable import, editorial prerequisite, research context), which no annotation conveys; however, it says nothing about traversal depth, transitivity, or how 'mode' alters the result set.

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?

Two sentences, no filler, with the core action front-loaded and the edge taxonomy following it. The wording is dense domain jargon but every sentence carries information.

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?

With no output schema, the description should carry the burden of describing the returned structure and how 'mode' filters it; it only partially does so via a list of edge kinds. An agent cannot determine from this definition whether the closure is transitive, whether cycles or pagination are handled, or what changes between proof and research mode.

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

Parameters2/5

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

Schema coverage is only 50%: 'id' is well documented in schema, but 'mode' has an enum and default with no description anywhere. The description never mentions either parameter, and the passing reference to 'research context' edges does not explain what selecting mode=research actually does. It does not compensate for the undocumented enum.

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 and resource: 'Retrieve the prerequisite closure', which tells an agent this is a dependency-traversal read, distinct from siblings like get_formal_proof or search_theorems. It stops short of naming any sibling to contrast against, so it is clear but not fully 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?

There is no when-to-use or when-not guidance, and no mention of the sibling tools or when to prefer them. The presence of a 'mode' switch (proof vs research) makes this gap worse: nothing says when one mode is appropriate over the other.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.