Skip to main content
Glama

Samuelz® Agent

Set a role position

set_role_position
Idempotent

Define one tenant role's outcome, metrics, systems, policy references, escalation rule and exactly one human or agent holder. Requires current expectedVersion. A holder assignment grants no OAuth scope, tenant membership, business permission or execution authority. POST /api/v1/tenant/write/set_role_position.

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": {
      "roleKey": "<roleKey>",
      "title": "<title>",
      "outcome": "<outcome>",
      "metrics": "<metrics>",
      "systems": "<systems>",
      "policyRefs": "<policyRefs>",
      "askWhen": "<askWhen>",
      "holder": "<holder>",
      "expectedVersion": "<expectedVersion>",
      "requestKey": "<requestKey>"
    },
    "name": "set_role_position"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
holderYes
askWhenYes
metricsYes
outcomeYes
roleKeyYes
systemsYes
resourcesNo
policyRefsYes
requestKeyYes
expectedVersionYes
qualityStandardNo
reportsToRoleKeyNo
completionEvidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, idempotent write, and the description meaningfully adds that a holder assignment grants no OAuth scope, membership, business permission or execution authority — a semantic/security caveat not present in structured fields. It also discloses the expectedVersion concurrency requirement and the POST path, though it does not explain the requestKey idempotency/replay behavior.

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?

Three tight sentences, front-loaded with the core definition before the prerequisite and the authorization caveat. The trailing endpoint URL is redundant for an agent but does not dilute the message.

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 14-parameter (10 required) mutation with no output schema, the description covers concurrency and the non-authorization caveat well. It still leaves an agent guessing about roughly half the optional fields and about idempotency semantics, which matters for an idempotentHint=true write.

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 0% across 14 parameters, so the description carries real burden. It explains the intent of outcome, metrics, systems, policyRefs, askWhen, holder and expectedVersion, but leaves title, roleKey, requestKey, resources, qualityStandard, completionEvidence and reportsToRoleKey undefined, and never states the requestKey/idempotency contract.

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 — defining a single tenant role's outcome, metrics, systems, policy refs, escalation rule and holder — which is far more concrete than a restated name. It does not explicitly contrast with siblings like accept_role_position or clone_role_position, but 'Define' versus 'accept'/'clone' implies the distinction.

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?

Gives one hard prerequisite ('Requires current expectedVersion') and one structural constraint ('exactly one human or agent holder'), which guides correct invocation. It never says when to choose this over accept_role_position or clone_role_position, and provides no when-not guidance.

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