Skip to main content
Glama

test_credential

Verifies an app connection by sending its test request, helping you confirm credentials work before using them in actions or triggers.

Instructions

Check a connection with the app's test request.

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": {
      "appId": "<appId>",
      "credentialId": "<credentialId>"
    },
    "name": "test_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesApp ID
credentialIdYesConnection ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden and falls well short: it does not say whether the check is side-effect free or actually fires a live request, whether it consumes rate limits, what permissions are needed, or how success/failure is signaled. For a tool whose entire purpose is validation, the absence of any failure-mode context is a meaningful gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no filler, which is good. However, the one clause it does contain ("with the app's test request") is the least clear part of the sentence, so brevity comes at the cost of precision rather than in service of 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 annotation coverage, so the description is the only place an agent could learn what the tool returns (a boolean, a status object, error detail) and it says nothing. For a two-parameter validation tool that is a significant omission.

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%, so appId and credentialId are already documented in the schema, and the high-coverage baseline of 3 applies. The description adds no meaning beyond the schema — it does not clarify the relationship between the app and the credential being tested.

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

Purpose3/5

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

The description names a verb ("check") and a resource ("a connection"), so the general intent is discernible. But the qualifier "with the app's test request" is ambiguous — it is unclear whether it issues the app's configured test request or merely verifies the test request config — and it does nothing to separate this tool from the sibling test_request.

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?

There is no statement of when to use this tool versus test_request, describe_credential, or refresh_credential, all of which plausibly overlap. No prerequisites (e.g., must the credential already exist, must the app be published) or exclusions are given, leaving the agent to guess 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.