Skip to main content
Glama

assign_resource

Assign a resource to a task, with optional fractional allocation of working hours.

Instructions

Assign a resource to a task.

Args: task_id: uniqueID of the task. resource_id: uniqueID of the resource. units: Optional fractional allocation (1.0 = 100% of a staff resource's working hours). Maps to the documented assignment.unitsAssigned accessor (Number, read/write). Round-trips cleanly across JXA call boundaries.

Returns: JSON {task_id, resource_id, units}. units is read back from assignment.unitsAssigned after the write — a true round-trip. When units is omitted on input, the returned value reflects whatever default OmniPlan applied (typically 1.0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes
resource_idYes
unitsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description fully discloses the round-trip behavior for units, the default value when omitted (1.0), and that mapping is to an internal accessor. This exceeds minimal expectations.

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?

The description is well-structured with 'Args' and 'Returns' sections, front-loaded with the purpose. Every sentence adds unique value, and the length is appropriate for the tool's complexity.

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

Completeness4/5

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

The description covers parameters, return format, and side effects (round-trip, defaults). It lacks error handling or prerequisite info, but the presence of an output schema reduces the burden. Nearly complete.

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

Parameters5/5

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

Schema coverage is 0%, but the description adds detailed semantics for all three parameters: task_id and resource_id are explained as 'uniqueID', and units gets a full explanation including type, default, round-trip behavior, and boundary handling.

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

Purpose5/5

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

The description opens with 'Assign a resource to a task' which is a specific verb+resource pairing. It clearly distinguishes from siblings like 'unassign_resource' (reverse operation) and 'list_assignments' (read-only).

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 explicit guidance on when to use this tool versus alternatives (e.g., when to assign vs. unassign, or prerequisites like existing resource/task). The description focuses on mechanics, not usage context.

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/johntrandall/omniplan-mcp'

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