Skip to main content
Glama

list_credentials

Retrieve all Verifiable Credentials issued to a specific subject DID. Provide the subject DID to see which credentials they hold.

Instructions

List all Verifiable Credentials issued to a subject DID.

Parameters:
    subject: the subject DID (credentialSubject.id) whose credentials to list.

Returns a list of VCs whose credentialSubject.id matches `subject`
(an empty list if the subject holds none).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subjectYes
Behavior4/5

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

Without annotations, the description clarifies the return: a list of VCs matching the subject DID, or empty if none. This discloses the behavioral outcome. It does not mention side effects or auth needs, but since this is a read-only list, the description is sufficiently transparent.

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?

The description is concise: two sentences for purpose and parameter, plus a note on return. No unnecessary words, and the main action is front-loaded.

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

Completeness5/5

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

Given the tool's simplicity (single parameter, list output), the description covers what it does, parameter explanation, and return value. It is complete for an agent to use correctly without additional context.

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

Parameters5/5

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

Schema coverage is 0%, so the description adds critical meaning: subject is the 'subject DID (credentialSubject.id)'. This clarifies the parameter semantic beyond the schema's bare type definition.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'List all Verifiable Credentials issued to a subject DID', specifying the action (list), resource (VCs), and scope (by subject). It distinguishes from sibling tools like get_vc or resolve_vc by focusing on listing multiple credentials for a given subject.

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 description implies usage for listing VCs of a specific subject but does not explicitly mention when to use vs. alternatives (e.g., get_vc for a single VC). No exclusions or alternative conditions are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fcapub/idm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server