Skip to main content
Glama
r-packagedev-mcp

r-packagedev-mcp

by B0ydT

use_gpl3_license

Add a GPL-3 LICENSE file to an R package and update the DESCRIPTION License field to GPL-3.

Instructions

Add a GPL-3 LICENSE file and update DESCRIPTION License field using usethis::use_gpl3_license().

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": "use_gpl3_license"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathYesAbsolute path to the root of the R package.

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 does disclose the two side effects (creating a LICENSE file and editing the DESCRIPTION License field) and names the underlying usethis function, which is useful. However, it says nothing about overwriting an existing LICENSE, idempotency, or whether the working directory must be clean, which matters for a mutating tool.

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?

A single front-loaded sentence that names both effects and the underlying function call with no filler. Every clause adds information.

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 one-parameter tool with no output schema the description covers the essential effects, but with zero annotations it should also state what happens to an existing LICENSE or DESCRIPTION entry. That gap is the main thing keeping it from being 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?

There is one parameter at 100% schema description coverage, so the schema already explains project_path as the absolute path to the R package root. The description adds no further meaning about the parameter, which is the correct baseline when the schema does the heavy lifting.

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: adds a GPL-3 LICENSE file and updates the DESCRIPTION License field. The scope is unambiguous and an agent can tell this apart from a plain file-write tool. It does not explicitly contrast with the sibling use_mit_license, so sibling differentiation is only implied by the license name.

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 implied by the name and the described effect: call it when an R package should be GPL-3 licensed. There is no explicit when-to-use, when-not-to-use, or pointer to use_mit_license as the alternative for a different license, so the agent must infer routing.

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