Skip to main content
Glama

Samuelz® Communications

Dienstübergabe vorbereiten

propose_operator_duty
Idempotent

Propose a handover to one eligible existing targetUserId, without assigning duty automatically. Read get_operator_duty_setup for eligible members and get_operator_duty for expectedVersion. source selects the proposed user_session or delegated_agent coverage. Supply explicit UTC acceptBy and endsAt; only that proposed user later uses accept_operator_duty with proposalId. Current Owner/manager or active incumbent authority required. Overdue proposals alert the configured tenant desk. Requires explicit user instruction and separate communications:duty consent. Read get_operator_duty first; pass exact version and one UUID requestKey per instruction, never a new key for retry. No new rights, recipient routing or customer send. JSON POST /api/v1/tenant/write/propose_operator_duty.

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": {
      "requestKey": "<requestKey>",
      "expectedVersion": "<expectedVersion>",
      "targetUserId": "<targetUserId>",
      "source": "<source>",
      "acceptBy": "<acceptBy>",
      "endsAt": "<endsAt>"
    },
    "name": "propose_operator_duty"
  }
}

Input Schema

NameRequiredDescriptionDefault
endsAtYesExplicit UTC timestamp at which this proposed or started coverage ends; not an open-ended delegation.
sourceYesProposed coverage mode: user_session or delegated_agent. This describes the existing user’s delegation, never a new AI principal or grant.
acceptByYesExplicit UTC deadline by which the proposed user must accept this handover.
requestKeyYesUUID for one explicit duty instruction. Keep the same key and exact inputs on retry; a new key does not authorise a second transition.
targetUserIdYesExact existing active member userId selected from get_operator_duty_setup. Propose coverage to that person; not a contact ID, role key or consent to accept for them.
expectedVersionYesCurrent numeric duty version from get_operator_duty. A changed state requires reread and renewed intent, not an invented version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / targetUserId / description
      Added value: +"Exact existing active member userId selected from get_operator_duty_setup. Propose coverage to that person; not a contact ID, role key or consent to accept for them."
  2. Changed5 schema fields changed
    • addedInput schema / properties / acceptBy / description
      Added value: +"Explicit UTC deadline by which the proposed user must accept this handover."
    • addedInput schema / properties / endsAt / description
      Added value: +"Explicit UTC timestamp at which this proposed or started coverage ends; not an open-ended delegation."
    • addedInput schema / properties / expectedVersion / description
      Added value: +"Current numeric duty version from get_operator_duty. A changed state requires reread and renewed intent, not an invented version."
    • addedInput schema / properties / requestKey / description
      Added value: +"UUID for one explicit duty instruction. Keep the same key and exact inputs on retry; a new key does not authorise a second transition."
    • addedInput schema / properties / source / description
      Added value: +"Proposed coverage mode: user_session or delegated_agent. This describes the existing user’s delegation, never a new AI principal or grant."
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare this is a non-destructive, idempotent write, and the description adds context they cannot carry: Owner/manager or active-incumbent authority requirement, separate communications:duty consent, explicit user instruction, overdue-proposal alerting to the tenant desk, and an explicit statement that no new rights, recipient routing or customer send result. The retry/requestKey semantics also match the idempotentHint rather than contradicting it.

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?

Front-loads purpose, then prerequisites, then constraints, then the endpoint - a sensible order with no filler. It leans telegraphic ('No new rights, recipient routing or customer send.'), which saves space but costs a little readability.

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?

For a six-parameter mutation with no output schema, it covers authority, consent, versioning, idempotency and side effects thoroughly, and mentions proposalId as the handoff artifact. The success response shape is only implied rather than stated, which is the one remaining gap.

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 coverage is 100% and the schema descriptions already explain targetUserId provenance, expectedVersion, requestKey retry semantics, source modes and UTC timestamps. The description restates these (acceptBy/endsAt UTC, version from get_operator_duty, source selects coverage mode) without adding format or constraint detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ('Propose a handover to one eligible existing targetUserId') and immediately scopes it with 'without assigning duty automatically', which separates it from accept_operator_duty and start_operator_duty. The agent can tell what the tool creates and what it deliberately does not do.

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

Usage Guidelines5/5

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

Gives explicit prerequisites (read get_operator_duty_setup for eligible members, get_operator_duty for expectedVersion), names the sibling that performs the follow-up step ('only that proposed user later uses accept_operator_duty with proposalId'), and states the authority and consent conditions required before calling. When-to-use and when-not-to-use are both covered.

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