Skip to main content
Glama

rOpenSci R-Universe Enterprise R Package Registry MCP

Get R package dependency graph

get_runiverse_package_dependencies
Read-onlyIdempotent

Inspect structured R package dependencies grouped by role (Depends, Imports, Suggests, LinkingTo) plus OS SystemRequirements.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "package_name": "<package_name>"
    },
    "name": "get_runiverse_package_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
universeNoR-Universe subdomain (default "cran").
package_nameYesR package name (e.g. "ggplot2", "xgboost").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds the useful detail that results are grouped by dependency role and include OS SystemRequirements. However, it leaves a meaningful ambiguity unresolved: the title says "dependency graph" while the body suggests only declared DESCRIPTION fields — it never says whether dependencies are resolved transitively.

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 no filler, and the role list is informative rather than redundant. It could earn a 5 only by spending a few words on the direct-vs-transitive question.

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?

For a simple two-parameter read-only lookup with full schema coverage and no output schema, the description conveys enough to call it correctly. The one gap — whether the dependency set is recursive — is minor but real for a tool whose title says "graph".

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 100%, so both parameters (package_name and the universe subdomain with its "cran" default) are already documented in the schema. The description adds no parameter-level meaning, such as how universe selection changes results, so the baseline 3 applies.

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?

Specific verb ("Inspect") plus a precisely scoped resource: R package dependencies broken out by role (Depends, Imports, Suggests, LinkingTo) and SystemRequirements. That role grouping distinguishes it well from siblings like get_runiverse_cran_package or search_runiverse_packages, though no sibling is named explicitly.

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?

Usage is only implied: an agent can infer it should call this when it needs a package's declared dependencies. There is no statement of when to prefer it over get_runiverse_cran_package (which may also surface metadata) and no exclusions or prerequisites.

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.