Skip to main content
Glama

Grant machine pool to project

grant_pools_add

Create a project machine pool grant in Omnara, setting capacity, CPU/memory limits, and environment defaults for machines provisioned within a project.

Instructions

Create project machine pool grant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgIDYes
metadataNoArbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
projectIDYes
default_cwdNo
descriptionNo
max_total_cpuNo
machine_pool_idYes
max_machine_cpuNo
min_machine_cpuNo
max_total_machinesNo
default_machine_cpuNo
max_total_memory_mbNo
max_machine_memory_mbNo
min_machine_memory_mbNo
default_machine_memory_mbNo
delete_after_idle_minutesNoIdle minutes before deleting a machine created through this grant. Use 0 to disable for this grant; omit to inherit the pool default. Values from 1 through 4 are invalid.
default_machine_env_overlayNoEnv overlay merged over the pool's default_machine_env for machines materialized through this grant; a null entry removes the key.
default_machine_secret_env_overlayNoSecret env overlay merged over the pool's default_machine_secret_env for machines materialized through this grant; a null entry removes the key.
default_machine_provider_options_overlayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the write nature and non-idempotency are covered externally. The description adds nothing beyond that: it does not say what happens on duplicate grants, whether it requires specific permissions, or how the grant affects existing machines. With annotations doing the safety work, the description's complete silence on behavior is a real gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single five-word clause, effectively front-loaded, but this is under-specification rather than conciseness. There is no wasted text precisely because there is almost no text at all, and it fails to earn its place by conveying anything the title does not.

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

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 19-parameter, nested-object mutation with no output schema and only safety annotations, a one-clause description is completely inadequate. An agent cannot determine prerequisites, parameter intent, or behavioral consequences from it.

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

Parameters1/5

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

Schema description coverage is only 21% across 19 parameters, so the description must compensate for undocumented fields such as the CPU/memory limits and env overlays. It contributes zero parameter meaning, leaving most fields understood only from their names. This is a severe shortfall for a 19-parameter mutation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Create project machine pool grant' gives a verb (Create) and a resource (machine pool grant) plus scope (project), so the basic action is inferable. However, it is terse and does not differentiate from siblings like grant_pools_edit or grant_pools_get beyond the implicit add-vs-edit distinction, and it never explains what a 'grant' actually is or what it enables. Adequate but with clear gaps.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g., that the pool and project must already exist), and no alternatives named among the many sibling grant_* tools. The agent receives no routing help whatsoever.

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