Skip to main content
Glama

run_credential_wizard

Walk through a trigger or action’s multi-step connection wizard to inspect allowed values, selections, and validity per step, including chained dynamic lists.

Instructions

Go through a trigger's or action's multi-step connection (wizard) the way the user goes through it in a bundle: for each step, the allowed values, the selected one, and whether it is valid. The only way to check a chain of dynamic lists: test_request checks one request and won't substitute the parent, refresh_credential doesn't run children by design. values: selection per step; refresh: run the lists of one step (update its values given the selection in previous ones): these are requests to the partner that overwrite the items stored for the connection, so refresh requires confirmed. Sees the private version too. A field at the last level of the chain (a list not among the steps) is filled only when the wizard is saved in a bundle; a walkthrough won't show it.

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>",
      "versionId": "<versionId>",
      "entityId": "<entityId>",
      "credentialId": "<credentialId>"
    },
    "name": "run_credential_wizard"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesApp ID
valuesNoSelection per step: {"<step code>": "<key>"} or {"<number from 1>": "<key>"}. Steps without a value stay unselected
refreshNoCode or number of the step whose lists to run (update-step). The selection in previous steps must be in values
entityIdYesID of the trigger or action that has the wizard
confirmedNoThe user agreed to requests to the partner (for refresh)
versionIdYesVersion ID
credentialIdYesConnection ID: step 0 of the wizard

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose key behavior: refresh issues requests to the partner that 'overwrite the items stored for the connection' and therefore requires confirmed, and the tool 'sees the private version too.' It also flags a limitation (a last-level field is filled only when the wizard is saved in a bundle). It leaves out permission requirements, failure modes, and whether the values-only mode has side effects, so it stops short of a 5.

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 front-loaded with the core operation and contains no filler sentences, but the structure is a single dense block of colon-separated fragments and parentheticals ('values: selection per step; refresh: run the lists of one step...') that forces re-reading. The bundle-layout caveat sits at the end as a long, awkward sentence rather than being clearly separated.

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?

With no output schema and seven parameters across two modes, the description does the necessary work: it describes the return shape (allowed values, selection, validity) and explains both the values and refresh modes plus the confirmed prerequisite. Remaining gaps are secondary — nothing about error behavior, and no explicit statement that values-only is a read operation — but the agent has enough to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: refresh is characterized as 'run the lists of one step' with the consequence that stored items are overwritten, making confirmed a prerequisite rather than an incidental flag, and the dependency that prior selections must be in values is stated. That is real semantic value beyond the field labels, though much of values/refresh/confirmed is already documented in 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?

The description uses a specific verb ('go through') on a specific resource ('a trigger's or action's multi-step connection (wizard)') and states what it returns ('the allowed values, the selected one, and whether it is valid'). It also names the sibling tools it is not, so an agent can distinguish it without opening other schemas, but the phrase 'the way the user goes through it in a bundle' is imprecise enough to blur the purpose slightly.

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?

Explicitly positions itself as 'the only way to check a chain of dynamic lists' and justifies that against two alternatives: 'test_request checks one request and won't substitute the parent, refresh_credential doesn't run children by design.' It also distinguishes the two operating modes (values vs. refresh) and states when refresh is required ('refresh requires confirmed'). This is exactly the when/when-not/alternatives guidance the dimension asks for.

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