Skip to main content
Glama

Get Project Credentials

get-project-credentials
Read-onlyIdempotent

Normal (non-bot) OAuth connections: fetch the project key local test runners (Playwright reporter, CLI, k6) need. Returns {projectId, projectName, projectApiKey, userId, backendUrl, ingressUrl} for the connection's project (the MCP URL's ?projectId= when set, else the one picked on the consent page). To persist the runner key without putting it in a shell command: local stdio MCP should call save-workspace-creds; hosted / plugin agents should write /.testchimp/mcp.json themselves (mode 0600, dir 0700) from this response and never print projectApiKey. This tool still returns projectApiKey for those callers. Not needed with an API key (stdio already has it).

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
projectApiKeyNoQA 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations carry the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial context beyond them: the exact return shape, how projectId resolution works (URL ?projectId= vs consent page), and concrete secret-handling rules (0600 file, 0700 dir, never print projectApiKey).

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?

The core purpose and audience are front-loaded, and every sentence carries operational value (return fields, persistence path, secret handling, when-not-needed). It is dense and slightly run-on, but there is little fat to cut.

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 explicitly enumerates the returned fields ({projectId, projectName, projectApiKey, userId, backendUrl, ingressUrl}), the resolution logic for the project, and the security-sensitive persistence workflow. An agent has everything needed to call and handle the result 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 both parameters (botId, projectApiKey) are already fully documented in the schema. The description does not add meaning about the parameters themselves, so the baseline 3 applies.

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 the project key) and names the exact audience (local test runners: Playwright reporter, CLI, k6). The parenthetical 'Normal (non-bot) OAuth connections' differentiates it from the sibling get-bot-credentials without the reader opening either schema.

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 (local runners needing the project key) and when-not-to-use ('Not needed with an API key (stdio already has it)'), and routes the persistence sub-case to save-workspace-creds. The contrast with get-bot-credentials is also implied by the non-bot scoping.

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.