Skip to main content
Glama

SalesHookAI

Schedule assignment

createAssignment

Creates a planbook assignment: schedules a team member for a project on a date, with optional start and end time.

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

Input Schema

NameRequiredDescriptionDefault
dateYesDate in YYYY-MM-DD format
noteNoOptional note for the assignment
titleNoTitle of an appointment without project (e.g. "Glasfaser-Techniker kommt"). Use this, not projectName, for anything that is not an existing project.
endTimeNoEnd time in HH:MM format (e.g. "16:00")
workerIdNoUser ID of the team member
projectIdNoNumeric project ID
startTimeNoStart time in HH:MM format (e.g. "08:00")
workerNameNoName of the team member to assign (e.g. "Max")
projectNameNoProject name (resolved to ID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / title / description
      Previous value: -"Custom title if no project is linked"New value: +"Title of an appointment without project (e.g. \"Glasfaser-Techniker kommt\"). Use this, not projectName, for anything that is not an existing project."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), so the description does not need to restate safety. It adds the relational shape (one worker, one project, one date, optional time window) but says nothing about duplicate handling, whether an implicit project is created, or failure behavior when names cannot be resolved.

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 front-loaded sentence with the resource first and the key dimensions after it. Nothing is padded or redundant, though the phrase 'with optional start and end time' duplicates what the schema already says.

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?

For a nine-parameter mutation tool, the description is thin: it does not explain how projectId/projectName and workerId/workerName interact, nor which fields are effectively alternatives. No output schema exists, so the return value is also unaddressed. Adequate to select the tool, not complete enough to call it confidently in edge cases.

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 already carries all nine parameter meanings, including the ID-vs-name pairs and the title-vs-projectName rule. The description only echoes the optional start/end time, adding no resolution order, defaults, or mutual-exclusion guidance beyond the schema. Baseline 3 applies.

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 and resource ('Creates a planbook assignment') and expands it into domain terms: scheduling a team member for a project on a date. This is clear enough to distinguish it from list/fetch siblings, though it does not explicitly differentiate it from createProjectTrip or createTask.

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 when-to-use or when-not-to-use guidance. It never mentions updateAssignment as the alternative for modifying an existing assignment, nor does it say what to do when a project or worker has no existing record. Usage must be inferred entirely from the name and purpose sentence.

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