Skip to main content
Glama

topos_generate_graphify_graph

Idempotent

Generate a Graphify knowledge graph from project code to enable structural analysis and refactoring. Skips existing graphs unless regeneration is forced.

Instructions

Generate the Graphify knowledge graph (graphify-out/graph.json) via the external graphify CLI (side-effecting). Use before topos_refactor(target="graphify") when no graph exists. Skips regeneration when a graph is already present unless force=true. Wholly independent of .gitnexus/GitNexus — never feeds SIMPLE/COMPOSABLE/SECURE. For GitNexus dep graphs use topos_generate_depgraph instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoRegenerate even when current.
directoryNoDirectory to analyze (default: MCP file root).
Behavior4/5

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

Annotations already declare idempotentHint=true, but the description adds context about side-effect (file generation) and skip-on-exist behavior, which is valuable beyond 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?

Dense yet clear, front-loaded with core action, no fluff. Every sentence adds essential information.

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?

Covers purpose, usage, side effects, and alternatives. Could mention error handling or CLI dependency, but overall complete for a tool with two optional parameters and no output schema.

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%, so baseline is 3. The description references force=true in the skip logic but doesn't add new parameter detail beyond the schema.

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 explicitly states it generates a knowledge graph via an external CLI, specifies the output file (graphify-out/graph.json), and distinguishes it from sibling tools like topos_generate_depgraph.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly states when to use (before topos_refactor when no graph exists), when to skip (already present unless force=true), and provides an alternative tool for GitNexus dependencies.

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/Krv-Labs/topos'

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