Skip to main content
Glama

activate

Read-only

Spreads activation from seed nodes to find the most relevant code entities. Applies domain-tuned edge weights for repair, review, or onboarding tasks.

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. profile retunes the weights for a task (repair/review/onboard). mode=prose returns the ranked subgraph as primed prose instead of a score table.

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.
profileNoEdge-weight preset: 'default', 'repair' (up-weights call/data), 'review', or 'onboard' (up-weights entry/module).default
modeNo'table' (ranked list) or 'prose' (primed prose for LLM context).table
budgetNoMax chars in the result. 0 = no cap.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds valuable behavioral context: the algorithm (Personalized PageRank), domain-tuned edge weights, profile retuning effects, and mode output type. No contradictions with annotations.

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 sentences, front-loaded with purpose, no redundant information. Every sentence adds value: core function, algorithm, and key parameter variations (profile, mode).

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 complex graph activation tool with five parameters and an output schema, the description covers the algorithm, profile options, mode options, and budget. It does not detail output format beyond saying 'score table' or 'primed prose', but output schema handles that. Lacks comparison to sibling tools.

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?

Schema coverage is 100%, so baseline is 3. The description adds meaning beyond schema by explaining the algorithm, how profiles retune weights, and that mode=prose returns primed prose for LLM context, enhancing parameter understanding.

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 purpose: spreading activation from seed nodes to find relevant nodes in a graph, using Personalized PageRank. It distinguishes from sibling tools like neighbours or locate by specifying the graph relevance approach.

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?

No guidance on when to use this tool versus sibling tools like neighbours, locate, or flow. The description explains what it does but does not provide decision criteria or exclusions for alternative tools.

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