Skip to main content
Glama

assistants_authorize

Signed-in session only: allow (with a workspaceId) or deny an AI assistant's request to use SAGOT. Allowing gives that assistant the listed scopes in one workspace — never admin, never more than your role — and returns redirectTo, the address to send the browser back to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allowYes
requestYes
workspaceIdNoWorkspace the assistant may use; required to allow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it declares the auth requirement (signed-in session), the privilege ceiling ('never admin, never more than your role'), workspace scoping, and a return value (redirectTo). It omits what denying actually does (no-op vs. revoke) and whether a prior grant is superseded.

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?

A single dense sentence that front-loads the precondition and then the two outcomes, then the return value. It is efficient, though the em-dash parenthetical makes the privilege-boundary clause slightly harder to parse than necessary.

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 mutation tool with no annotations, no output schema, and a nested request object, the description covers the essentials (auth, privilege limits, return redirect). It is still incomplete: the deny path's side effects, error behavior for invalid client_id/redirect_uri, and the meaning of the nested request fields are unaddressed.

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 only 33% – workspaceId is documented in the schema, while the eight nested fields of the 'request' object are undocumented anywhere. The description adds useful meaning for workspaceId (required to allow) and for scope ('the listed scopes'), but leaves the OAuth-style request payload opaque, so it only partially compensates for the coverage gap.

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 names a specific verb pair (allow/deny) and a specific resource (an AI assistant's request to use SAGOT), and it distinguishes itself from neighboring tools like assistants_revoke, assistants_list, and assistants_preview. An agent can tell exactly what this tool does without opening the schema.

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 gives a clear precondition ('Signed-in session only') and states the condition under which workspaceId is supplied ('allow (with a workspaceId)' implied by the schema's 'required to allow'). It does not name an alternative tool (e.g., assistants_revoke for undoing a grant) or state when to deny rather than skip the call, so it falls short of full when/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