Skip to main content
Glama

page_rank

Computes PageRank scores to rank nodes in a directed graph by link importance.

Instructions

Compute PageRank scores for nodes in a directed graph.

Input Schema

NameRequiredDescriptionDefault
edgesYesArray of directed edges {from, to}
dampingNoDamping factor (default 0.85)
toleranceNoConvergence tolerance (default 1e-6)
iterationsNoMax iterations (default 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description must carry behavioral disclosure, and 'Compute' at least implies a pure, side-effect-free calculation. But it says nothing about convergence behavior, that results are iterative scoring, or that no external state is mutated. Adequate but with clear gaps for a tool with zero annotation coverage.

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?

A single front-loaded sentence with zero filler and no repetition of schema details. It is efficient, though its extreme brevity for a four-parameter algorithmic tool leaves it feeling under-developed rather than optimally structured.

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

Completeness3/5

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

There is no output schema, so the description could have stated that it returns a score per node, but it does not. Parameters are fully covered by the schema and there are no annotations to complement, leaving the return shape and any edge-case behavior unexplained.

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 coverage is 100% and the schema itself documents each parameter with its default (damping 0.85, tolerance 1e-6, iterations 100), so the baseline is 3. The description adds nothing about edge semantics (e.g., duplicate edges, self-loops) or tuning trade-offs, so it does not exceed 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?

The description states a specific verb and resource ('Compute PageRank scores') plus the input domain ('nodes in a directed graph'), so the agent immediately knows what it does. However, it makes no attempt to distinguish itself from the many other graph-algorithm siblings (graph_analyze, graph_condensation, centrality-like tools), which is what separates a 4 from a 5.

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 guidance, no prerequisites, and no mention of alternatives such as graph_analyze or other ranking/centrality routines. The agent is left to infer from the name alone that this is the ranking tool rather than a general graph analysis tool.

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

Deploy Server

Other Tools