Skip to main content
Glama

activate

Find the most relevant nodes in a codebase graph by spreading activation from seed nodes. Uses Personalized PageRank with domain-tuned edge weights, returning ranked results by relevance score.

Instructions

Spreading activation from seed nodes — finds the most relevant nodes in the graph relative to your seeds. Uses Personalized PageRank with domain-tuned edge weights. Returns ranked results by relevance score.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedsYesComma-separated node names or qname patterns to seed activation from.
top_kNoNumber of top results to return. Default 20.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
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 burden. It discloses the algorithm (Personalized PageRank) and that it returns ranked results, but does not mention any side effects, permissions, or limitations. This is adequate but not thorough.

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?

Three concise sentences front-load the core action and algorithm, making it easy to scan. No wasted words.

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?

With an output schema present and only two parameters, the description covers the tool's purpose, algorithm, and result type sufficiently. It lacks detail on edge weighting or use cases but is reasonably complete for the complexity.

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 100%, so the baseline is 3. The description adds domain context (edge weights) but does not enhance understanding of parameters beyond what the schema already provides (seeds as comma-separated names, top_k as integer with default).

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?

The description clearly states the tool's function: spreading activation from seed nodes to find the most relevant nodes in the graph using Personalized PageRank. It distinguishes itself from sibling tools (e.g., 'find', 'neighbours') by specifying a unique algorithm and return type.

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 explains the tool's purpose and algorithm, providing context for when to use it (finding relevant nodes via activation). However, it does not explicitly state when not to use it or suggest alternatives, missing an opportunity to guide selection among siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/James-Chahwan/repo-graph'

If you have feedback or need assistance with the MCP directory API, please join our Discord server