Skip to main content
Glama
r-packagedev-mcp

r-packagedev-mcp

by B0ydT

renv_update

Update packages in a renv project library. Specify package names to update selected packages, or omit them to update all outdated dependencies for reproducible R environments.

Instructions

Update packages in the renv project library using renv::update(). If no package names are given, all outdated packages are updated.

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": {
      "project_path": "<project_path>"
    },
    "name": "renv_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
packagesNoPackage names to update. If omitted, all packages are updated.
project_pathYesAbsolute path to the renv-managed project root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the meaningful behavioral fact that omitting packages updates everything outdated, and naming renv::update() lets an agent infer network access and runtime, but it says nothing about irreversibility, library modification risk, or whether the session must be restarted.

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?

Two short sentences, front-loaded with the action and resource, with the scoping rule placed second. No filler or redundancy.

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?

For a two-parameter mutation tool with no annotations and no output schema, the description covers the core action and default scope but leaves the safety profile and post-update effects undocumented. It is adequate but not complete.

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 100%, so both parameters are already documented, and the description's restatement of the packages default adds only marginal value. It adds nothing about project_path semantics or formatting of package names beyond what the schema provides.

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 gives a specific verb and resource (update packages in the renv project library) and names the underlying call renv::update(). It doesn't explicitly distinguish itself from close siblings like renv_install or renv_restore, so an agent must infer the boundary from the names alone.

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?

It states the default behavior when the packages argument is omitted (all outdated packages updated), which implies usage. However, it never says when to prefer this over renv_install, renv_restore, or renv_snapshot, nor does it mention prerequisites such as the project being renv-initialized.

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