Skip to main content
Glama

workspace_add_packages

Add a new app, library, config, or tool package to a monorepo workspace, with optional internal dependencies, reusing shared configuration.

Instructions

Add new packages to a monorepo with shared configuration and dependencies (Pro)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
dependenciesNoInternal workspace dependencies
package_nameYesName of the new package to add
package_typeYesType of package
workspace_nameYesName of the workspace
Behavior2/5

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

With no annotations, the description carries the full behavioral disclosure burden. It only signals that the operation adds packages and is flagged '(Pro)', but does not disclose what files get modified, whether the workspace must pre-exist, what 'shared configuration' concretely entails, or any auth/access implications.

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 efficient sentence with zero filler, front-loading the action and resource before the modifiers. The '(Pro)' marker is a useful one-word addition, though the phrase 'shared configuration and dependencies' is slightly ambiguous about whether the tool applies shared config to new packages or adds shared config itself.

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?

Adequate for a relatively simple mutation tool: the schema covers all parameters and the description states the action. However, for a tool with no annotations and no output schema, it should at least clarify that the target workspace must already exist, whether existing workspace config is mutated, and what the Pro restriction means operationally.

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 the schema fully documents all five parameters including the enum for package_type. The description's phrase 'shared configuration and dependencies' loosely maps to the `dependencies` parameter, but adds no format, defaults, or relationship information beyond the schema.

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 uses a specific verb ('Add') and a clear resource ('new packages to a monorepo'), and the qualifier 'with shared configuration and dependencies' adds meaningful scope. The action is clearly distinct from the closest siblings (workspace_generate_monorepo, workspace_configure_turborepo), though it does not explicitly name or contrast them.

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 guidance is given about when to use this tool vs alternatives or what prerequisites apply. It does not state that the workspace must already exist, that this is distinct from workspace_generate_monorepo or workspace_configure_turborepo, or mention the Pro tier requirement as a gate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/barnburner121/claude-plugin-marketplace'

If you have feedback or need assistance with the MCP directory API, please join our Discord server