Skip to main content
Glama
Upload Labs MCP

Upload Labs MCP

by egor-fedorov

get_graph

Read-only

Reads nodes and directed port connections for a category or player group. Include neighboring cross-group links or omit selectors to inspect the whole desktop.

Instructions

Read nodes and directed port connections for a category or player group.

For a subsystem, pass categories such as ["hacking"]. Discover IDs with list_groups. Each list selects a union. Passing both selects the intersection. To see incoming and outgoing cross-group connections, enable include_neighbors. external_node_ids identifies those extra nodes. This option requires a selector. Call get_graph() for the whole desktop.

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_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idsNo
categoriesNo
include_neighborsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive, closed-world behavior, so the bar is lower; the description nonetheless adds real context about the result shape (nodes plus directed port connections) and the side effect of include_neighbors, which pulls in extra cross-group nodes identified via external_node_ids. It does not discuss volume, pagination, or cost of enabling include_neighbors on large groups.

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?

Front-loaded with the core purpose, then the selector semantics, then the optional flag, then the no-arg default — a logical order with little waste. Minor drag from referencing external_node_ids, an output field not present in the schema, and from the self-referential 'Call get_graph()' phrasing.

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?

With an output schema available, return values need not be described, and the description covers the selection model and the neighbor flag's precondition, which are the main failure modes for this tool. It is still slightly under-specified on how group_ids and categories interact with the union/intersection rule and on whether enabling neighbors has scale limits.

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 0% (parameters carry only titles and defaults), so the description must carry the meaning, and it does explain categories with an example and include_neighbors with its precondition. However, the combination rule is stated ambiguously — 'Each list selects a union. Passing both selects the intersection' — and group_ids format/discovery is only implied via 'Discover IDs with list_groups'. Meaningful but incomplete compensation for a total schema gap.

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 opening sentence pairs a specific verb (read) with a specific resource (nodes and directed port connections) and states the scoping unit (category or player group), so an agent can distinguish it from list_groups (ID discovery), get_node (single node), and get_status. The closing note that a no-argument call returns the whole desktop further pins down scope.

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

Usage Guidelines4/5

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

Gives concrete when-to-use guidance: pass categories like ["hacking"] for a subsystem, discover IDs via list_groups, and enable include_neighbors only when cross-group connections matter. It also states a hard precondition (include_neighbors requires a selector). It stops short of explicitly contrasting get_graph with get_node for single-node lookups, leaving one sibling boundary implicit.

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