Skip to main content
Glama

Add credential

add_credential

Add a credential to an instructor (e.g. RYT-200, Prenatal). specialty is the machine key used by substitution checks.

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": {
      "instructor_id": "<instructor_id>",
      "name": "<name>"
    },
    "name": "add_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
issued_atNoYYYY-MM-DD
issued_byNo
specialtyNo
expires_atNoYYYY-MM-DD
instructor_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the agent knows this is a non-idempotent write. The description adds real context beyond that by explaining that 'specialty is the machine key used by substitution checks', which affects how the value should be chosen. It does not warn about duplicate credentials arising from the non-idempotent behavior or note permission requirements.

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

Conciseness5/5

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

Two short sentences, front-loaded with the action and resource, then the one non-obvious parameter hint. No filler or restatement of the title beyond what is needed.

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 six-parameter mutation tool with low schema coverage and no output schema, the description addresses only the specialty field. It omits what name should look like versus issued_by, whether the instructor must pre-exist, and what happens on repeat calls given idempotentHint=false.

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 only 33% (only issued_at and expires_at are documented, with date formats), so the description carries some burden. It meaningfully explains the specialty parameter's role in substitution checks, which the schema does not. However, it says nothing about name, issued_by, or the difference between name and instructor_id, leaving four parameters semantically thin.

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 gives a specific verb and resource ('Add a credential to an instructor') and grounds it with concrete examples (RYT-200, Prenatal), which tells an agent exactly what kind of record this creates and separates it from the other add_* siblings by resource. It stops short of naming remove_credential or update_credential as the alternatives for related operations.

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: the verb 'Add' signals creation rather than modification, and the specialty note hints that the field feeds substitution checks. There is no explicit statement of when to use this versus update_credential, nor any prerequisite such as the instructor needing to already exist.

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