Skip to main content
Glama
WapiSender MCP

WapiSender MCP

Official
by Wapi-Sender

add_ai_credential

Adds a new AI provider credential to the active instance and encrypts the API key server-side so it is never stored locally.

Instructions

Add a new AI provider credential for the active instance. The API key is encrypted server-side and never stored locally.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_ai_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one valuable behavior: the API key is encrypted server-side and never stored locally. That is genuine security context. It omits other behavior an agent needs, such as what happens with a duplicate credential, whether the operation is reversible, permission requirements, and whether the result is returned at all.

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?

Two short sentences with no waste, and the operation is stated first before the security note. Nothing is padded or restated from the tool name alone.

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 zero-parameter, no-annotation, no-output-schema tool the description is serviceable but thin. It does not resolve how the API key reaches the server, what provider it applies to, or what the caller gets back, which are precisely the gaps structured fields cannot fill here.

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?

The schema has zero properties, so by baseline this would be a 4, but the description refers to 'The API key' as an input while no such parameter exists in the schema. That mismatch leaves the agent unclear on whether the key is passed elsewhere (e.g., instance configuration) or whether the tool is malformed, which reduces the value of the parameter-level information.

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 description states a specific verb and resource: 'Add a new AI provider credential for the active instance.' This clearly distinguishes it from the sibling set (delete/update/list/test_ai_credential) without needing to name them. It stops short of 5 because it never says what a 'credential' comprises beyond an API key.

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

Usage Guidelines3/5

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

Usage is only implied: 'for the active instance' hints that an active instance must exist, and the add-vs-update distinction is left to the reader. There is no explicit statement of when to use this instead of update_ai_credential (e.g., when no credential exists yet) and no prerequisites such as authentication or instance selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.