Skip to main content
Glama

Samuelz® Agent

Bind an agent principal

bind_agent_principal
Idempotent

Confirm one registered agent against an existing OAuth grant in this tenant. The binding inherits only that grant's existing authority and creates no permissions. Revocation of the grant also ends the binding. POST /api/v1/tenant/write/bind_agent_principal.

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": {
      "agentKey": "<agentKey>",
      "grantId": "<grantId>",
      "requestKey": "<requestKey>",
      "confirmed": "<confirmed>"
    },
    "name": "bind_agent_principal"
  }
}

Input Schema

NameRequiredDescriptionDefault
grantIdYes
agentKeyYes
confirmedYes
requestKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare idempotentHint=true and destructiveHint=false, so the safety profile is already covered. The description adds genuinely new context: the binding inherits only the grant's existing authority, creates no permissions, and is terminated when the grant is revoked, which also signals that requestKey is a replay-safety key. It doesn't mention auth requirements or error 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 short sentences, front-loaded with the action and followed by the two constraints that matter. The trailing POST path is redundant metadata but minimal overhead.

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?

Covers the operation and its permission scope, but for a four-required-parameter mutation with zero schema description coverage and no output schema, it leaves requestKey idempotency semantics and the meaning of confirmed unaddressed. Adequate but noticeably thin.

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%, so the description is the only source, but it explains none of the four parameters directly. It implicitly conveys that agentKey refers to a registered agent and grantId to an existing grant, yet requestKey and the confirmed=true constant remain unexplained beyond the schema's own constraints.

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: 'Confirm one registered agent against an existing OAuth grant in this tenant.' It also distinguishes the operation from permission-granting siblings by clarifying that the binding 'creates no permissions.'

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?

Implied usage is clear from the sentence about inheritance and revocation, but there is no explicit guidance on when to prefer this over alternatives like accept_role_position or set_role_position, nor any stated prerequisites such as who may confirm.

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