Skip to main content
Glama

create_credential

Create an app connection by submitting field values keyed by their authorization codes; the form field names are assembled automatically, enabling test requests against the app.

Instructions

Create a connection to an app. Pass fields by their codes as defined in the authorization; the tool assembles the form names itself. The created connection is needed for 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>",
      "title": "<title>",
      "fields": "<fields>"
    },
    "name": "create_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesApp ID
titleYesConnection name
authIdNoWhich authorization the fields belong to. Needed only if several authorizations provide the same code
fieldsYesField values as {"code": "value"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose a genuinely useful behavior: the agent passes fields by authorization-defined codes and "the tool assembles the form names itself," which prevents wrong key naming. It omits what the tool returns (an ID needed to call test_request?), whether duplicate connections are allowed, and any auth or side-effect details.

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?

Three short sentences, front-loaded with the core action and then the mechanics. No filler. One minor weakness is that the ordering note about test_request comes last, though it could be useful up front.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with four parameters, three of them required, a nested fields object, and no output schema, the definition explains input semantics well but says nothing about the return value. An agent does not learn whether a credential ID comes back so that it can drive test_request next, which is a gap for a create tool with no annotations.

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 description coverage is 100%, so baseline 3 applies. The description goes beyond the schema by explaining that field keys must be codes "as defined in the authorization" and that authId is only needed when several authorizations share a code. That is real disambiguation guidance for a nested object parameter, not repetition.

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 opens with a specific verb and resource: "Create a connection to an app." It also tells the agent that the created connection is required by test_request, which separates it from the read and update siblings. The wording "connection" differs from the tool name "create_credential," adding a small mismatch that could confuse an agent scanning for credential tools.

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?

The dependency statement "The created connection is needed for test_request" implies a call order and gives an agent a reason to invoke this tool first. It stops short of explicit exclusions: nothing says when not to use it versus run_credential_wizard or update_credential, or when an existing credential should be reused instead of creating a new one.

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