Skip to main content
Glama

Read the relations graph

get_relations
Read-onlyIdempotent

Links between deployment records, catalogue robots and companies, and the documented component-robot relations (component_robot: relation id, component and robot ids, evidence status, sources and limits). Subscribers get the full deployments graph; others the graph built from public values.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_relations"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real behavioral context beyond them: results are scoped by subscription tier, with non-subscribers seeing only a graph built from public values, which tells the agent to expect different coverage per caller. It does not discuss graph size, traversal limits, or result shape, keeping it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Only two sentences and no filler, but the lead sentence is a sprawling fragment with a nested parenthetical that makes the subject hard to parse on first read. It would be clearer front-loaded as 'Returns links between ...' with the access-tier caveat second.

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?

With no parameters and no output schema, the description carries the burden of explaining return values, and it partially does by naming the entity types and component_robot fields. However, it says nothing about the graph's structure (nodes, edges, identifiers) or how to consume it alongside get_atlas/get_rows, leaving a gap for a zero-input, zero-output-schema tool.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The parenthetical field list (relation id, component and robot ids, evidence status, sources and limits) usefully pre-describes the record contents the caller will see.

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 concretely enumerates what the graph contains: deployment records, catalogue robots, companies, and component-robot relations with their fields. It lacks an explicit verb (the fragment relies on the title 'Read the relations graph') and never differentiates itself from siblings like get_atlas or get_rows, so it is clear on content but not on contrast.

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 statement of when to call this versus get_atlas, get_rows, or search_catalogue, and no prerequisites or follow-up guidance. The only conditional mentioned ('Subscribers get the full deployments graph; others the graph built from public values') describes access-tier behavior rather than usage selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.