Skip to main content
Glama

Create project assignment

create_project_assignment

Assign a resource (personnel/subcontractor/machine/product/service) to a project. resource_name is looked up automatically from the resource's own record if omitted.

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_id": "<project_id>",
      "resource_type": "<resource_type>",
      "resource_id": "<resource_id>"
    },
    "name": "create_project_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
agent_idNo
project_idYes
resource_idYes
resource_nameNo
resource_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-readonly, non-idempotent, non-destructive write, so the description's added value is the resource_name auto-lookup fallback, which is genuinely useful. It does not say whether duplicate assignments are rejected, what happens on a failed lookup, or whether permissions beyond project access are needed.

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?

Two sentences, front-loaded with the core action, with no filler. The parenthetical enumerates the allowed resource types, which is slight duplication of the enum but keeps the sentence self-contained.

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

Completeness2/5

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

A six-parameter mutation with zero schema descriptions and no output schema needs the description to explain the remaining fields and what is returned (e.g., an assignment id). Only one parameter's behavior is covered, leaving the agent to guess at notes, agent_id, and the response shape.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description carries the full burden, yet it explains only resource_name (auto-resolved if omitted) and restates the resource_type values already fixed by the enum. notes, agent_id, project_id, and resource_id formats and roles remain entirely undocumented.

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 (assign) and resource (project assignment) and enumerates the five resource types it accepts, so the agent knows exactly what entity is created. It does not explicitly differentiate itself from list_project_assignments or delete_project_assignment, but the create semantics are unambiguous.

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?

The description implies its use case (attaching an existing resource of a given type to an existing project) but never states prerequisites such as the project and resource already existing, nor when not to use it. No alternative or sibling is named for the case where an assignment already exists.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources