Skip to main content
Glama

quiry

Create OAuth client

create_oauth_client

Registers an OAuth client. Clients hold no permissions: the approving member picks keys on the consent screen, which never offers api_token.manage or workspace.delete. A client secret, if requested, is returned only in this response.

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": {
      "name": "<name>"
    },
    "name": "create_oauth_client"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
with_secretNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a solid job: it states that clients hold no permissions, that an approving member selects keys on the consent screen, that api_token.manage and workspace.delete are never offered, and — crucially — that the secret is retrievable only in this response. It stops short of saying whether the client starts in a pending/unapproved state or is immediately usable.

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 compact sentences with the core action front-loaded and no filler. The middle sentence about consent-screen permissions is dense but relevant to a first-time caller deciding whether to create a client.

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 two-parameter creation tool with no annotations and no output schema, the definition covers the important unknowns: permission scope is deferred to consent, secret exposure is one-shot, and certain scopes are excluded. Only lifecycle details (pending approval state, error behavior on duplicate names) are absent.

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 coverage is 0%, so the description must compensate. 'A client secret, if requested' effectively documents the with_secret flag and its one-time-return consequence, but the required 'name' parameter receives no guidance beyond the schema's maxLength of 60.

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?

The first sentence names a specific verb and resource ('Registers an OAuth client'), which is enough to distinguish it from list_oauth_clients and revoke_oauth_client. It does not, however, explicitly contrast itself with create_api_token, the closest behavioral sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of the alternatives (create_api_token for token issuance, revoke_oauth_client for teardown). The consent-screen discussion is background context, not invocation 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