Skip to main content
Glama

Add a sign-in account

add_credential

Store a sign-in account the tester can use. The password is encrypted, never returned, and never sent to the tester's AI: the tester types it. Tests refer to the account by name ("Sign in as the account "customer""). Through MCP the password passes through your AI agent: prefer adding passwords in the web app or over the REST API from a secret store. Reference: https://testsy.dev/docs/mcp/

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": {
      "projectId": "<projectId>",
      "name": "<name>",
      "username": "<username>",
      "password": "<password>"
    },
    "name": "add_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName tests use, for example customer (up to 60 characters)
siteNoSite it belongs to, optional
passwordYesPassword (write-only)
usernameYesUsername or email
projectIdYesProject id (p_…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare non-read-only, non-destructive, non-idempotent; the description adds genuinely new behavioral facts: the password is encrypted and never returned, and via MCP it transits the agent, which is a security-relevant caveat an agent cannot infer from structured fields. It stops short of saying what happens on duplicate names or what the call returns.

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?

Purpose is front-loaded in the first sentence, followed by security behavior and then the referral to the web app/REST path. The password point is restated twice ("never sent to the tester's AI" and "passes through your AI agent"), which is slightly redundant but serves the security emphasis.

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?

For a five-parameter mutation with no output schema, the description covers purpose, security handling, and how the credential is consumed by tests. The main missing piece is the duplicate-name behavior implied by idempotentHint=false, but overall it is sufficient to call the tool correctly.

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 coverage is 100%, so all five parameters are already documented, including password as write-only. The description reinforces the semantics of `name` (tests reference the account by that string, with the "Sign in as the account 'customer'" example), which adds modest meaning beyond the schema but no syntax or format detail the schema lacks.

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 concrete verb and resource: "Store a sign-in account the tester can use," which clearly marks this as a create operation distinct from list_credentials and delete_credential. It does not explicitly name or contrast a sibling, but the create semantics are unambiguous.

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?

Gives real routing advice for the risky path: "prefer adding passwords in the web app or over the REST API from a secret store," which is an explicit when-not-to-use-this-channel statement. However, it never says when to reach for this tool versus list_credentials or how to handle an account name that already exists, so the remaining guidance is implied by context.

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.