Skip to main content
Glama
mailkite

MailKite

Official

mailkite_register_oauth_client

Register an OAuth client to link a MailKite account to your app. Get a client_id immediately via PKCE, with no pre-shared secret or manual review.

Instructions

Register an OAuth client for this installation (RFC 7591 dynamic client registration) — step 1 of linking an existing MailKite account to your app. No pre-shared secret and no manual app review: you get a client_id back immediately and prove yourself with PKCE. Register once per install and keep the client_id. Requires a management session token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
client_nameNoHuman-readable name shown to the user on the consent screen. Include the site or install it belongs to so someone with several connections can tell them apart.
redirect_urisYesWhere the authorization code is delivered. Every entry must be an absolute https URL — http is accepted only on loopback, for local development. A javascript: or data: URI is rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations provide only false hints, so the description carries the full burden. It discloses key behavioral traits: no pre-shared secret, no manual review, immediate client_id return, PKCE, and the need to store the client_id. It does not mention persistence or revocation details, but the provided context is genuinely helpful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four concise sentences, no wordiness. Each sentence carries a unique purpose: the protocol and step, the no-secret/no-review benefit, the one-time usage and storage instruction, and the session token requirement. The core action is front-loaded.

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?

No output schema exists, so the description must at least indicate the return value. It states 'you get a client_id back immediately,' and covers lifecycle ('once per install', 'keep the client_id'), prerequisites, and the step in the flow. It could be more explicit about subsequent steps (e.g., using the client_id with exchange_oauth_token), but this is minor given the simple parameter set.

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 100%, and the schema already explains both parameters well (client_name and redirect_uris). The description text does not add any parameter-specific semantics beyond what the schema states. Thus the baseline of 3 applies.

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 states a specific verb and resource ('Register an OAuth client') and adds context: 'step 1 of linking an existing MailKite account to your app.' The mention of RFC 7591 and the explicit 'step 1' clearly distinguish it from siblings like mailkite_exchange_oauth_token and mailkite_register.

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 provides clear usage guidance: 'Register once per install and keep the client_id' and 'Requires a management session token.' It also frames the tool as the first step in a flow. However, it does not explicitly name alternatives or give a when-not-to-use condition, so it falls 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.

Install Server

Other Tools