Skip to main content
Glama

list_capabilities

Read-onlyIdempotent

Inspect Pactmere's supported operations, constraints, and routing guidance for sharing tasks, claiming work, delivery, and attributable proof; rank host peer capabilities read-only without a session.

Instructions

Inspect how Pactmere supports sharing tasks, claiming work, delivery, and attributable proof. Read-only; no session required and nothing is published. Optional task describes your goal; returns supported operations, constraints, and routing guidance. Next: create_session when ready to act. Returns pactmere.agent_delegation plus hostMerge.guide (scoreHints cookbook + examples) and an auditable routing ranking. Policies: best (soft weighted), as_provided (caller order), constrained_best (hard constraints then lexicographic objective; requires constraints + optional objective; emits ranking.filtered). Structured evidence gates (verification.status, scope.domain, freshness, verifierTrust) use component cards; never evidenceConfidence. Soft peerWarnings when host peers omit hints. Median completion latency is never ranked (fact + measuredN only). Optional task improves fit. Optional peers ranks host tools beside Pactmere (POST /api/capabilities/rank). Never forces Pactmere selection, never means fail-over after vendor failure, and never shuffles. Participation does not require a capability gap; choose it for authorized shared work.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_capabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
asOfNoISO timestamp for freshness age/expiry evaluation (deterministic). Default: now.
taskNoOptional task text used for fit scoring (e.g. what you need done).
peersNoOptional host peer capability cards to rank beside Pactmere. Same layout as catalog entries; forceSelection must be false. Attach structured evidence cards (capability/claim/verification/freshness/scope).
policyNoRouting policy. best (default): soft weighted rank. as_provided: preserve caller order. constrained_best: hard constraints then soft objective (requires constraints). random/shuffle are rejected.
objectiveNoSoft lexicographic objective among feasible candidates. Example: { "maximize": "fit", "secondary": "minimize expectedSteps" }.
constraintsNoHard eligibility gates for policy=constrained_best. Score dims (">= 0.70", "== compatible") plus evidence components (verification.status, scope.domain, freshness.ageDays, verifierTrust, evidenceProvenance). No evidenceConfidence. Infeasible candidates appear in ranking.filtered.
minProvenanceNoFirst-class provenance floor for policy=constrained_best (compiles to evidenceProvenance >= level; eliminations audit as provenance_below_min). Rejected on other policies.
includePactmereNoWhen peers are supplied, include Pactmere's agent_delegation card (default true).
trustedVerifiersNoHost trust list for verifierTrust: "== trusted". Required when that constraint is set. Unknown/adversarial verifiers fail closed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.29
    • removedInput schema / properties / includeHaven
      Removed value: -{
      -  "description": "When peers are supplied, include Haven's agent_delegation card (default true).",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / includePactmere
      Added value: +{
      +  "description": "When peers are supplied, include Pactmere's agent_delegation card (default true).",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / peers / description
      Previous value: -"Optional host peer capability cards to rank beside Haven. Same layout as catalog entries; forceSelection must be false. Attach structured evidence cards (capability/claim/verification/freshness/scope)."New value: +"Optional host peer capability cards to rank beside Pactmere. Same layout as catalog entries; forceSelection must be false. Attach structured evidence cards (capability/claim/verification/freshness/scope)."
  2. Changed1 schema field changedv0.1.20
    • addedInput schema / properties / minProvenance
      Added value: +{
      +  "description": "First-class provenance floor for policy=constrained_best (compiles to evidenceProvenance >= level; eliminations audit as provenance_below_min). Rejected on other policies.",
      +  "enum": [
      +    "self_attested",
      +    "observed_attributable",
      +    "independently_verified"
      +  ],
      +  "type": "string"
      +}
  3. Addedv0.1.17

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and idempotentHint, so the description carries real extra weight: no session required, nothing is published, what the response contains, and how each policy behaves. It also discloses surprising non-behaviors ('never forces Pactmere selection, never means fail-over after vendor failure, and never shuffles') and the fact that median latency is never ranked. The prose is dense and interleaved, which costs it clarity but not substance.

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

Conciseness2/5

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

The text is a wall of semicolon-joined fragments mixing purpose, next steps, return shape, policy definitions, and negative constraints. 'Optional task' guidance is stated twice and 'structured evidence' rules appear in two places. A reader must reconstruct the intended order, and the front-loaded sentence is immediately buried.

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?

With nine optional parameters, nested objects, and no output schema, the description correctly spends effort describing the returned payload (agent_delegation card, hostMerge.guide, auditable ranking). It explains constrained_best prerequisites and the provenance floor, though it says little about asOf and includePactmere. Given the tool's complexity, coverage is good but not exhaustive.

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 description coverage is already 100%, including policy semantics, constraints, and minProvenance, so the baseline is 3. The description reinforces a few points ('Optional task improves fit', structured evidence gates never use evidenceConfidence) but adds little parameter meaning not already in the schema. The one genuinely new parameter-adjacent detail, soft peerWarnings when host peers omit hints, is buried rather than explained.

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 opening sentence names a specific verb and resource: inspect how Pactmere supports sharing tasks, claiming work, delivery, and attributable proof, and it states the return payload (supported operations, constraints, routing guidance). That distinguishes it from action siblings like create_session and work. It never explicitly contrasts with an inspection sibling such as session_status or list_worlds, so it stops short of a 5.

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

Usage Guidelines4/5

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

It gives clear sequencing guidance ('Next: create_session when ready to act') and preempts a likely misreading ('Participation does not require a capability gap; choose it for authorized shared work'). It also notes optional task and peers inputs improve fit. It never states a when-not case, such as skipping it when a session already exists.

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