Skip to main content
Glama

Translate credential format

marketnow_translate_credential
Read-onlyIdempotent

Translate a credential between the 9 adapter formats (ATC, JWT/OAuth, W3C VC, A2A, EAT-AI, ZTA, MCP Card, SPIFFE, X.509). Lossless conversion through Universal Trust Schema (UTS). See /api/trust?action=formats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesTarget format: atc-v3, jwt, w3c-vc, a2a-card, mcp-card, x509
fromYesSource format: atc-v3, jwt, w3c-vc, a2a-card, mcp-card, x509
payloadYesThe credential JSON to translate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world, so the safety profile is covered. The description adds two real behavioral facts beyond that: conversion is lossless and is mediated through the Universal Trust Schema (UTS). It does not say what happens on an unsupported pair or a malformed payload, so the disclosure is partial.

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 verb and the format cartesian, then the UTS mechanism, then a pointer to the catalog endpoint. Nothing is wasted, though the closing doc link is a dangling reference whose content an agent cannot read from the definition alone.

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

Completeness4/5

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

There is no output schema, but for a pure transformation tool whose annotations declare read-only and idempotent behavior, the description gives enough to call it correctly: input formats, output formats, and the UTS mechanism. It would be stronger if it stated the shape of the returned JSON, but nothing critical is missing.

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 'from', 'to' and 'payload' are already documented at the field level, which sets the baseline at 3. The description adds a naming bridge (JWT/OAuth -> jwt, W3C VC -> w3c-vc) and reveals the adapter vocabulary, but it also advertises 9 formats while the schema lists only 6 accepted values, leaving the agent to resolve that gap itself.

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?

States a specific verb (translate) and resource (credential) and enumerates the source/target format space, which is exactly what distinguishes it from the sibling marketnow_list_formats. An agent can tell this is a conversion tool rather than a discovery or verification tool without opening a schema.

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 you use this when you hold a credential in one format and need another, and it points to /api/trust?action=formats for the format catalog. It never names an alternative sibling (e.g. list_formats for discovery, verify_trust for validation) or states when NOT to use it, so routing guidance remains implicit.

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.