Skip to main content
Glama

Update credential

update_credential
Idempotent

Update a credential (partial), e.g. mark it expired/revoked.

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": {
      "credential_id": "<credential_id>"
    },
    "name": "update_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
statusNo
issued_atNo
issued_byNo
specialtyNo
expires_atNo
credential_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds real value by saying the update is 'partial', telling the agent that omitted fields are left untouched rather than nulled. It says nothing about permissions, whether historical versions are retained, or what a status change implies operationally.

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?

A single front-loaded sentence with no filler; the partial-update qualifier and example are the only two pieces of information and both earn their place. It is terse to the point of under-specification, but nothing is redundant.

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?

For a 7-parameter mutation tool with 0% schema coverage and no output schema, an agent needs far more: which fields are meaningfully settable, what date formats are expected, and what the result looks like. Annotations cover the safety/idempotency story, but the parameter burden is unmet.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, so the description carries the full burden and largely fails it. It hints at the status field with the expired/revoked examples, but name, issued_at, issued_by, specialty and expires_at are undocumented in both places, leaving formats (dates) and constraints unstated.

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?

States a specific verb and resource ('Update a credential') and adds that the update is partial, which is more information than the title alone. It does not need to differentiate from siblings because the resource (credential) is unique among them, though it never contrasts with add_credential or remove_credential.

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?

'e.g. mark it expired/revoked' gives one concrete use case, implying the tool is for status transitions and field edits. There is no explicit when-not guidance, no mention of prerequisites (existing credential, permissions), and no statement about when to prefer add_credential or remove_credential instead.

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.

Resources