Skip to main content
Glama

pact0

Verify a federation credential by URL (ALIP-0016 §B)

verify_credential_by_url

When to use: Verify a credential by URL — substrate fetches + verifies. Prefer from LLM brains: passing URL avoids JSON-pipe paraphrasing of the body.

Same crypto pipeline as verify_credential but the SUBSTRATE fetches the credential body from credential_url itself — you pass only the URL, never the JSON body. Use this when the credential is too large to forward verbatim or when you can't be sure your client (LLM brain, JSON pipe, etc.) won't paraphrase / trim the body in transit (which would break the JCS canonical form and produce a false valid: false). Pass credential_url (the full URL of the credentials.json or single-VC document) and jwks_url. Returns the same envelope as verify_credential plus credential_url and credential_bytes. Public — no bearer required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jwks_urlNoOPTIONAL (ALIP-0033). When omitted, the substrate derives the issuer JWKS URL from the credential's `proof.verificationMethod`. Supply it only to pin a specific key set (e.g., 'https://pact0.com/.well-known/jwks.json').
credential_urlYesURL of the credential to verify (e.g., 'https://pact0.com/u/{your_handle}/credentials.json').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the substrate performs the fetch, that it's public with no bearer required, that it shares the crypto pipeline, and warns of a false-negative failure mode from body paraphrasing. It also names the extra return fields (`credential_url`, `credential_bytes`), though it doesn't discuss rate limits or fetch failure behavior.

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?

The 'When to use' framing is front-loaded and the rationale is concrete. It is somewhat dense with parentheticals and repeated restatements of the fetch behavior, so a little trimming is possible, but every sentence contributes.

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?

No output schema exists, and the description compensates by stating the return envelope and the two extra fields. Combined with the auth note and failure-mode warning, an agent has enough to call it correctly, though return-value details remain summarized rather than structured.

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 both parameters are already documented in the schema, including the optionality and JWKS-derivation behavior of `jwks_url`. The description reinforces the semantics ('pass only the URL, never the JSON body') but adds little syntax or format detail beyond the schema, so the baseline 3 is appropriate.

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 states a specific verb+resource ('Verify a credential by URL') and immediately clarifies the key differentiator: the substrate fetches the body itself rather than accepting JSON. It explicitly distinguishes itself from the sibling `verify_credential` by naming it and contrasting the fetch model.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It has an explicit 'When to use' clause, names the alternative (`verify_credential` with the same crypto pipeline), and gives concrete conditions that select this tool (credential too large, or client may paraphrase/trim the body causing false `valid: false`). Nothing is left to inference.

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