Skip to main content
Glama

Get Bot Credentials

get-bot-credentials
Read-onlyIdempotent

QA bots: fetch your project binding right after your user authorized the TestChimp connector for you (consent page: project picked, "Use this connection as my QA bot" ticked). Returns {projectId, projectName, botId, projectApiKey, userId, settingsUrl}. The connector is your user's and is shared with their other bots, so it does not remember your project: store projectId, projectName, botId and projectApiKey as your own bot-scoped setting (env/secret if your host has one, else bot memory). Then prefer the CLI for TestChimp calls: pipe the key to testchimp bot save-binding --bot-id <botId> --project-id <projectId> once per computer, then add --bot to every command. When you do use these MCP tools, pass projectApiKey and botId on every call. Confirm the project name with your user before storing. Never print projectApiKey.

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": "get-bot-credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
projectIdNoThe TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.
projectApiKeyNoProject API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / projectApiKey / description
      Previous value: -"QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it."New value: +"Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it."
    • addedInput schema / properties / projectId
      Added value: +{
      +  "description": "The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses important non-obvious behavior: the connector belongs to the user and is shared across their bots, so it will not remember this project, and the agent must persist projectId/projectName/botId/projectApiKey itself. It also states a security constraint (never print projectApiKey). What it does not cover is failure modes, e.g. what happens if consent was never completed or the binding was already fetched.

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 action and trigger, and every sentence carries a distinct obligation (store the binding, prefer the CLI, pass the key, confirm the project name, never print the key). It is dense and reads as one uninterrupted block, which would benefit from breaking the storage and CLI instructions into separate sentences.

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?

With no output schema, the description supplies the exact return field list, and for a credential-fetching tool it also covers post-call storage, CLI migration, and secret-handling. Nothing an agent needs in order to call this correctly and act on the result is missing.

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% and the schema already explains when projectApiKey is required versus optional, so the description cannot add much parameter meaning. It implicitly clarifies that this call itself needs no binding yet, which is useful, but it adds no format or constraint detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("fetch your project binding") and pins the exact moment it applies (right after the user authorized the TestChimp connector, on the consent page). It also enumerates the exact return payload, so an agent knows precisely what it gets back and cannot confuse it with a generic credential lookup.

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 an explicit trigger condition (immediately after consent with "Use this connection as my QA bot" ticked) and an explicit preferred alternative (use the CLI, with the exact save-binding command). It also tells the agent when to fall back to MCP tools and what to pass on each call, which is unusually complete routing guidance.

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.