Skip to main content
Glama

get_dependencies

Read-only

Retrieve direct dependency fields for a specified R package, with optional Bioconductor resolution of CRAN and Bioconductor origins.

Instructions

Get direct dependency fields; Bioconductor also resolves CRAN/Bioconductor origins.

Input Schema

NameRequiredDescriptionDefault
packageYes
repositoryNocran
bioc_versionNo
resolve_repositoriesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare read-only, non-destructive, open-world behavior. The description adds a genuine behavioral nuance: the Bioconductor path resolves CRAN/Bioconductor origins. However, it does not explain what resolve_repositories does, how repository='all' behaves, or whether resolution causes extra network calls.

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 compact sentence with no filler, front-loaded with the core action. The semicolon clause is dense and would benefit from slight unpacking, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 not be explained. But for a four-parameter tool with zero schema descriptions, the description leaves most input semantics unexplained and is too thin to guide correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It only hints at repository-resolution behavior for Bioconductor and says nothing about package, bioc_version, resolve_repositories, or the repository enum values.

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?

States a specific verb and resource: 'Get direct dependency fields'. The word 'direct' usefully scopes it against transitive dependency tools, but 'dependency fields' is vague about what is actually returned and no sibling is named for 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 indication of when to use this versus alternatives such as check_package_compatibility or get_package_info. Usage is only implied by the tool name; there are no exclusions or selection criteria.

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