Skip to main content
Glama

Algizian

Set own provider app

set_provider_credentials
DestructiveIdempotent

Requires sign-in (scope orgs:manage). Use the tenant's own provider app so users see its name on the consent screen. Fields per provider: google: clientId, clientSecret; microsoft: clientId, clientSecret; apple: clientId, teamId, keyId, privateKey, domainAssociation; steam: webApiKey (get_provider_setup describes each). Stored encrypted, never returned. The answer lists the redirect URIs to register in the provider console (the tenant's own hosts: its subdomain and any active custom domain) and a warning: provider account ids change when switching, so existing users match only by verified email.

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": {
      "tenant": "<tenant>",
      "provider": "<provider>"
    },
    "name": "set_provider_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyIdNothe 10-character key id
teamIdNothe 10-character team id
tenantYestenant slug
clientIdNothe OAuth client id from Google Cloud
providerYessign-in provider key, for example google, microsoft or apple (list_supported_providers shows all)
webApiKeyNooptional: a Steam Web API key (32 hex characters) to fill the name and picture
privateKeyNothe .p8 key file contents (PKCS8 EC key)
clientSecretNothe OAuth client secret
domainAssociationNocontents of the apple-developer-domain-association.txt file Apple gives you, served on this tenant's hosts

Output Schema

NameRequiredDescriptionDefault
resultYesThe result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds meaningful context beyond that: secrets are stored encrypted and never returned, the response includes redirect URIs to register in the provider console (including subdomain and active custom domain hosts), and switching provider apps breaks account-id matching so existing users only match on verified email.

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?

Front-loaded with the auth requirement, then provider field mapping, then storage/return behavior, then the warning. Dense but every sentence carries information; the per-provider field list is terse but readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers prerequisites, per-provider inputs, secret handling, the redirect-URI side effect, and the user-migration warning. An output schema exists, yet the description still usefully flags what the answer contains, so nothing an agent needs before invoking is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so per-field meanings are already documented, but the description adds real value by mapping which fields apply to each provider (google/microsoft: clientId+clientSecret; apple: clientId, teamId, keyId, privateKey, domainAssociation; steam: webApiKey). That conditional requirement structure is not captured by the flat schema.

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?

States a specific verb and resource: configure the tenant's own sign-in provider app so users see its name on the consent screen. It is distinguishable from get_provider_setup (referenced as the read path) and from credential removal, though it does not name the removal sibling explicitly.

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

Usage Guidelines5/5

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

Gives the prerequisite (sign-in required, scope orgs:manage) and routes the agent to get_provider_setup for per-provider field explanations, establishing a clear read-then-write sequence. It also implicitly scopes use to tenants that want their own branded OAuth app rather than a shared one.

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