Skip to main content
Glama

Visualize Team Relationships

team_visualize_relationships
Read-onlyIdempotent

Generate a Mermaid diagram that maps relationships between team entries, with filtering by entry ID or tag and depth traversal for focused visualization.

Instructions

Generate a Mermaid diagram showing relationships between team entries. Filter by entry ID, tag, or traverse to a specified depth. Requires TEAM_DB_PATH.

Input Schema

NameRequiredDescriptionDefault
tagNo
depthNo
entry_idNo
use_test_dbNo
workspace_idNoOptional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key.

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
errorNoHuman-readable error message
detailsNoAdditional error context
mermaidNo
successNo
categoryNoError category (validation, query, connection, internal)
edgeCountNo
nodeCountNo
suggestionNoSuggested fix for the error
recoverableNoWhether the error is recoverable
aggregated_errorsNoDetails of individual errors in a multi-step operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds a real prerequisite not in the annotations — the TEAM_DB_PATH environment requirement — plus the output medium (Mermaid source). It stops short of clarifying render-vs-text output or whether large depths are expensive.

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 short sentences: what it produces first, how to scope it second, prerequisites last. No filler, no restating the title, everything front-loaded.

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?

An output schema exists, so return values need no explanation, and annotations cover the safety profile. Still, for a five-parameter graph tool, the description omits whether filters combine or are alternatives, what an unfiltered call returns, and any guidance on use_test_db — gaps an agent must guess at.

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 only 20% (only workspace_id is documented), so the description must compensate. It does add meaning for three of five parameters by naming the tag and entry_id filters and framing depth as traversal depth, but use_test_db is never explained and the default depth of 2 and filter interaction rules are left to 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?

States a specific verb (Generate), a concrete artifact (Mermaid diagram), and the resource scope (relationships between team entries). No sibling produces a diagram, so an agent can distinguish it from team_search, team_get_statistics, or team_export_markdown without opening the schema.

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

Usage Guidelines3/5

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

The second sentence implies the three ways to drive the tool (entry ID, tag, or depth traversal), which is useful usage context. However, it never says when to prefer this over, say, team_search or team_get_collaboration_matrix, whether the filters are combinable or mutually exclusive, or what happens when no filter is supplied.

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