Skip to main content
Glama

List Shared Contracts and Decision Logs

hub_list_contracts

List compact contract and decision log entries filtered by workspace, kind, or status to review project agreements and decisions.

Instructions

List compact contract and decision log entries. Filter by workspace, kind, or status.

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": "hub_list_contracts"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
statusNo
workspace_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read-only listing and signals that entries are 'compact,' but says nothing about pagination, result limits, ordering, default scope when filters are omitted, or whether the call is workspace-scoped by default.

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?

Two tight sentences with the core action front-loaded and filters second. No filler, though the extreme brevity leaves too much unsaid for a tool with zero annotation and schema coverage.

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

Completeness3/5

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

A simple optional-filter list tool, so expectations are modest, but with no annotations, no output schema, and no parameter descriptions, the definition leaves the agent guessing about default scope and return shape. It is minimally viable rather than complete.

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

Parameters2/5

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

Schema description coverage is 0%: the schema exposes only a field name, two enums, and a bare string type. The description names the three filters but adds no meaning — it does not explain the contract/decision/pitfall/guardrail distinction, the draft→verified status lifecycle, the workspace_id format, or whether omitting filters returns everything.

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?

States a specific verb and resource: 'List compact contract and decision log entries.' That distinguishes it from hub_create_contract (write) and app_get_contract (single-item fetch), though the sibling differentiation is implicit rather than stated. 'Compact' hints that results are lightweight summaries rather than full records.

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

Usage Guidelines2/5

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

The description lists available filters but never says when to reach for this tool instead of hub_get_summary, app_get_contract, or hub_create_contract. No prerequisites, no exclusions, no mention of what happens when no filter is supplied.

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