Skip to main content
Glama
MCP Credentials Server

MCP Credentials Server

by hsuehic

validate_credentials

Verify that stored credentials for a service exist and are properly configured, including the specified profile, before your AI agent attempts authentication.

Instructions

Validate if credentials exist and are properly configured

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

Input Schema

NameRequiredDescriptionDefault
profileNoProfile name (optional)default
serviceYesService name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It never states whether this is a read-only operation, what 'properly configured' actually verifies (format, expiry, network reachability), whether a failed validation raises an error or returns a falsey result, or whether it requires authentication or network access.

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?

A single front-loaded sentence with no filler. It is tightly written, though the terseness contributes to the missing behavioral detail rather than compensating for it.

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

Completeness2/5

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

There is no output schema and no annotations, so the description is the only source of behavioral truth, and it omits the return contract entirely — critical for a validation tool where the agent must know whether success is a boolean, a status object, or an exception. Permissions and side effects are also unaddressed.

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% (both 'service' and 'profile' are documented, with a default on profile), so the baseline is 3. The description adds no meaning about what 'service' scopes or how 'profile' changes the validation target, so it does not exceed the 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 ('Validate') and resource ('credentials') plus the check's scope: existence and proper configuration. This differentiates it reasonably from set_credentials and generate_2fa, though 'exist' partially overlaps with get_credentials without clarifying the distinction.

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?

No when-to-use guidance at all. It does not say whether to call this before set_credentials, as a pre-flight check, instead of get_credentials, or under what failure conditions. The agent must infer the call site from the name alone.

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