Skip to main content
Glama

describe_credential

Returns the fields required to create or edit an app connection—codes, labels, types, required status—and whether the connection can be tested.

Instructions

Which fields are needed to create a connection to an app: codes, labels, types and whether they are required. Also tells whether such a connection can be tested.

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>"
    },
    "name": "describe_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesApp ID
scenarioNoCreate form or edit form. Defaults to create

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it usefully discloses what is returned (field codes, labels, types, required flags) and that it reveals testability. However, it never states that this is a read-only introspection call, omits error behavior for an invalid appId, and its framing only covers the create case even though the schema exposes an edit scenario.

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?

Two compact sentences with no filler, and the returned-content list is front-loaded. The opening clause is grammatically awkward ('Which fields are needed...'), but nothing is wasted.

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?

There is no output schema, so the description must convey return shape; it partially does by listing the field attributes and the testable flag. It is still incomplete for a metadata tool, since it ignores the edit-form scenario the schema exposes and does not explain the appId parameter's role.

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 appId and the create/edit enum are already documented. The description adds no meaning beyond the schema and in fact only describes the create case, leaving the 'edit' scenario value unexplained.

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 names a concrete resource: the field metadata (codes, labels, types, requiredness) needed to build a credential for an app, plus a testability signal. That distinguishes it from siblings like create_credential or list_credentials. It lacks an explicit verb ('Returns...'), reading as a fragment, which keeps it from a 5.

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?

Usage is only implied by the phrase 'needed to create a connection to an app,' suggesting it precedes create_credential. There is no explicit when-to-use statement, no mention of when not to use it, and no named alternative for looking up app metadata.

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