Skip to main content
Glama

Request authority approval

stack_request_authority

Create a pending request for an owner or admin to approve one exact job for an agent. Returns the request id and a human approval URL; it grants no access by itself. The approver reviews the terms and verifies through the OpenID Connect provider configured under Security and sign-in.

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": {
      "organisation_name": "<organisation_name>",
      "role_name": "<role_name>",
      "role_claim_path": "<role_claim_path>",
      "role_claim_value": "<role_claim_value>",
      "agent_id": "<agent_id>",
      "service_connection_id": "<service_connection_id>",
      "provider": "<provider>",
      "purpose": "<purpose>",
      "http_method": "<http_method>",
      "resource_path": "<resource_path>",
      "expires_at": "<expires_at>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "stack_request_authority"
  }
}

Input Schema

NameRequiredDescriptionDefault
purposeYesPlain-language reason this access is needed.
agent_idYes
providerYesConnected system, such as stripe.
role_nameYesHuman-readable role required to approve the request.
expires_atYesISO timestamp within the next 60 minutes.
mission_idNo
constraintsNo
http_methodYes
resource_pathYes
idempotency_keyYesStable key for this exact request. A repeated call with the same key returns the same request.
role_claim_pathYesOIDC claim path that records the approver role, such as roles.
role_claim_valueYesRequired value in the configured OIDC role claim.
organisation_nameYesOrganisation the agent will act for.
service_connection_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only tell the agent this is a non-read, non-destructive, closed-world call; the description adds real behavioral context on top — that the call itself grants nothing, that it returns a request id plus a human approval URL, and that the approver verifies identity through the configured OIDC provider. It does not discuss request expiry behavior, duplicate-request handling, or failure modes, so it stops short of 5.

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 action and its consequence, with no filler. The trailing reference to 'Security and sign-in' is an interface pointer that adds minor noise but no ambiguity.

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 14-parameter approval-creation tool with no output schema, the description covers what matters most: that the result is a request id and approval URL, that no access is granted yet, and who approves. The remaining gap is the semantics of the scoping parameters (constraints, resource_path, http_method), which the description leaves entirely to the schema.

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?

With 14 parameters and only 57% schema description coverage, several fields (agent_id, mission_id, constraints, http_method, resource_path, service_connection_id) are undocumented in both places. The description contributes a little by framing the request as 'one exact job' and by pointing at the OIDC role claim configuration, but it does not explain the constraint structure or how method/path scoping works.

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 object ('Create a pending request for an owner or admin to approve one exact job for an agent') and scopes it tightly to a single job. The clause 'it grants no access by itself' separates it from the actual access-performing tools such as stack_proxy_request or stack_get_authority_request.

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?

The context for use is clear: an agent needs scoped access and a human must approve it before anything happens. It does not explicitly name an alternative tool or state exclusions (e.g., when to reuse an existing request instead), which keeps it short of a 5.

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.