Skip to main content
Glama

set_integration_credentials

DestructiveIdempotent

Store credentials for a third-party service in the tenant's vault. Secret fields (password, api_token, token, access_token, api_key, client_secret, secret, …) go into Supabase Vault and are addressed by id — they are NEVER written to a plain column and NEVER returned by any tool. Everything else (base_url, username, account ids) stays as readable configuration. Required: provider (a stable lower-case handle like 'placetel'), credentials (object). Optional display_name, status, replace. Storing again MERGES: config fields you do not send keep their current value, so changing one field does not silently drop the others (pass replace: true to deliberately clear them). Use this instead of putting a password into an AI memory item — a memory is loaded into prompts, a vault entry is not. Secrets may be given as a 1Password reference op://// or a Bitwarden Secrets Manager reference bws:// (or bws:///) instead of the value (only for secret fields; resolved server-side from the tenant's 1Password/Bitwarden connection, so the value never appears in your context) — never ask a person to paste a password or API key into the chat. NOTE: this tool cannot verify that the credentials actually work; unlike the service-specific connect tools it stores what it is given. Where a check matters, test the login separately and set status accordingly. EXCEPTION, single sign-on: for provider 'dealeraize' pass credentials {auth_method: 'sso'} (company scope, acting person must be admin here and an admin in DealerAIze who has signed in there once with DelegAIze) — the product then issues a dedicated MCP key for that person, it is verified with a real MCP call and stored; no key or password needed. If the person is not linked yet, the error says so: sign in once at https://dealer-ai-ze.innov-ai-tive.de/login with "Mit DelegAIze anmelden", then retry.

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": {
      "provider": "<provider>",
      "credentials": "<credentials>"
    },
    "name": "set_integration_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNotenant (default) = company integration, only admins or whoever may manage it. private = only for me: nobody else (admins included) can use it; my own private integration is used before the company one.
statusNoactive | inactive | error. Default active.
replaceNoDrop every config field you did not send, instead of keeping it. Default false. Only for deliberately clearing an integration — a normal edit does not need it.
providerYesStable handle, lower case, e.g. 'placetel'. One row per tenant and provider; storing again MERGES into it.
credentialsYesFlat object. Secret-typed keys are vaulted, the rest stays as config. Fields you do not send keep their current value.
display_nameNoReadable name for the integrations screen.

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?

Goes well past the annotations (destructiveHint/idempotentHint) by disclosing what actually happens to data: secret-typed keys are vaulted and 'NEVER returned by any tool', non-secret fields stay readable config, and re-storing MERGES rather than overwrites unless replace:true is passed. It also discloses that op:// and bws:// references are resolved server-side and never enter the agent's context, and that no validity check is performed.

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-loads the core purpose and secret-handling rule, then layers merge semantics, reference syntax, and finally the SSO exception. Dense but each paragraph carries information an agent needs; the long single-provider SSO paragraph is the one place where length is disproportionate to general applicability.

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?

For a 6-parameter destructive write tool with no output schema, the definition covers everything an agent must know: what gets stored where, what is never returned, merge/replace behavior, the server-side reference option, the verification caveat, and the recovery path when the SSO link is missing. Nothing material is left to inference.

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 the baseline is 3, but the description adds real meaning beyond the schema: it enumerates the secret-typed key names (password, api_token, access_token, api_key, client_secret, secret…), specifies the reference syntax accepted for those fields, gives a concrete provider handle example, and restates merge vs replace semantics. The scope enum ('tenant' vs 'private') is only explained in the schema, not in the description.

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?

Opens with a specific verb+resource: 'Store credentials for a third-party service in the tenant's vault.' It also draws a contrast with 'the service-specific connect tools' and with AI memory items, so an agent can see it is the generic credential-writing path. It never names a concrete sibling like set_abaninja_credentials as the alternative, so the routing is implied rather than explicit.

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 explicit when-to-use ('instead of putting a password into an AI memory item'), an explicit limitation ('this tool cannot verify that the credentials actually work… test the login separately and set status accordingly'), and an explicit special case for provider 'dealeraize' with SSO. It also tells the agent never to ask a person to paste a password into chat, which is actionable usage policy.

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.