Skip to main content
Glama

create_delegation

Create a delegation for approvals and assignments by selecting the delegating user, recipient, and start/end dates. Choose to cover approvals, assignments, or both.

Instructions

Create an approval/coverage delegation (sys_user_delegate). Requires WRITE_ENABLED=true

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endsNoEnd datetime (YYYY-MM-DD HH:MM:SS)
userYesUser delegating (sys_id/user_name/email)
startsNoStart datetime (YYYY-MM-DD HH:MM:SS)
delegateYesUser receiving the delegation
approvalsNoDelegate approvals (default true)
assignmentsNoDelegate assignments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.15.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false. The description adds the specific write requirement (WRITE_ENABLED=true) and the target table, which is useful. It does not contradict annotations and provides additional behavioral context.

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?

Two sentences with no wasted words. The purpose is front-loaded, and the prerequisite is stated concisely. Perfectly sized for the task.

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 the essential context: what is created, the target table, and a critical prerequisite. It does not mention return values, but given no output schema and the simplicity of a create operation, this is a minor gap. Overall, it provides sufficient guidance for an agent to use the tool correctly.

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 all six parameters are already described in the schema. The description itself does not add additional parameter semantics, so a baseline score of 3 is appropriate.

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 clearly states the action (Create) and the specific resource (approval/coverage delegation, sys_user_delegate). It distinguishes the tool from siblings by naming the exact target table and its function, which is unique among the sibling tools.

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?

It provides a clear prerequisite (WRITE_ENABLED=true) and implies the context (creating delegations). No direct alternative tools exist, so explicit exclusion is not necessary. The requirement adds operational context beyond just saying what it does.

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

Deploy Server

Other Tools