Skip to main content
Glama

createAssignment

Assign a resource, or some of its seats, to a customer for a period, without a subscription: nothing is charged. Returns the created assignment. Pass entire true for the whole resource, or entire false with quantity for seats of a desk, parking lot, or station. Omit endDate for an open-ended assignment, and customerRef only to hold the resource without a customer. Get resourceRef from getResources. Call getCustomers to list valid customerRef values. Never invent UUIDs; only use values from prior tool responses.

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": {
      "assignment": "<assignment>"
    },
    "name": "createAssignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
assignmentYes

Output Schema

NameRequiredDescriptionDefault
assignmentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare non-read-only, non-destructive, closed-world; the description adds the substantive behavioral fact that nothing is charged (no billing side effect) and that a held-without-customer assignment is legal. It does not cover permission requirements, behavior on overlapping assignments, or rate limits, so it stops short of full disclosure for a mutation.

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?

Front-loaded with the core action and the 'nothing is charged' qualifier, then a tight sequence of conditional rules. Every clause carries operational meaning; no filler or restatement of the tool name.

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

Completeness5/5

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

For a single nested-object mutation with an output schema already covering the response, the description supplies the ID sourcing rules, the mode selection logic, and the optionality semantics needed to call it correctly. The remaining gaps (permissions, conflict handling) are secondary for this tool's complexity.

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

Parameters4/5

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

Top-level schema coverage is effectively zero for the single 'assignment' object, so the description must compensate, and it does: it explains the entire/quantity coupling, the resource kinds where quantity applies, and the consequences of omitting endDate and customerRef. It does not explain startDate semantics or the ISO format expectation beyond what the nested schema already provides.

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?

Specific verb and resource ('Assign a resource, or some of its seats, to a customer for a period') plus an explicit differentiating scope: 'without a subscription: nothing is charged'. It also states the return value and distinguishes the whole-resource vs seat-level modes, which is enough to tell it apart from updateAssignment/deleteAssignment in the sibling list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete conditional guidance: pass entire=true for the whole resource, entire=false plus quantity for seats of a desk, parking lot, or station; omit endDate for open-ended; omit customerRef to hold without a customer. It also routes the agent to getResources and getCustomers for valid reference values. What it lacks is a statement of when NOT to use this tool (e.g. the paid/subscription path).

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