Skip to main content
Glama
r-packagedev-mcp

r-packagedev-mcp

by B0ydT

renv_status

Check whether an R project library is synchronized with renv.lock and report dependency mismatches so you can restore reproducibility.

Instructions

Report whether the project library is synchronised with renv.lock using renv::status().

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

Input Schema

NameRequiredDescriptionDefault
project_pathYesAbsolute path to the renv-managed project root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, and 'Report whether' only weakly signals a non-mutating read. It does not state what the result contains (boolean vs. a detailed diff of missing/extra packages), whether it writes to disk, or any cost/latency characteristics for a single-sentence tool with zero annotation coverage.

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?

One front-loaded sentence with zero filler; the reference to renv::status() anchors the agent to the canonical underlying check. Nothing is wasted or buried.

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 single-parameter read-only tool this is close to adequate, but with no output schema the agent still does not know what the report looks like or how to interpret a 'not synchronised' outcome. A brief note on the return shape would close the remaining gap.

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?

The single parameter is fully documented in the schema (100% coverage), so the schema does the heavy lifting. The description adds no meaning about project_path such as whether relative paths are rejected or whether the path must contain renv.lock.

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 names a specific verb and resource: reporting whether the project library is synchronised with renv.lock. That is clearly distinguishable from mutation siblings like renv_snapshot or renv_restore, though the description never explicitly contrasts with them.

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 this is a read-only health check to run before deciding to snapshot or restore. There is no explicit statement of when to call it, when not to, or which sibling to use if drift is detected.

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