Tool tree
Port Authority is the harbor master for WebMCP: inspect declared tool contracts, stage bounded revisions, require human clearance, and export accepted documentation.
Implementation
gradeNot graded
gradeNot graded
list_tool_contractsAnswer
Lists tools.
View tool JSON
{
"name": "list_tool_contracts",
"kind": "answer",
"impl": "imperative",
"description": "Lists tools.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}get_tool_contractAnswer
Return one exact accepted tool contract, its documented schemas and examples, and the deterministic findings currently supported by that metadata.
View tool JSON
{
"name": "get_tool_contract",
"kind": "answer",
"impl": "imperative",
"description": "Return one exact accepted tool contract, its documented schemas and examples, and the deterministic findings currently supported by that metadata.",
"inputSchema": {
"type": "object",
"properties": {
"toolName": {
"type": "string",
"enum": [
"list_tool_contracts",
"get_tool_contract",
"audit_tool_contracts",
"propose_contract_revision",
"preview_contract_bundle"
],
"pattern": "^[a-z][a-z0-9_]*$"
}
},
"required": [
"toolName"
],
"additionalProperties": false
}
}audit_tool_contractsAction
Audit every accepted tool contract with deterministic metadata and example checks, then visibly populate the workbench audit panel with supported findings.
View tool JSON
{
"name": "audit_tool_contracts",
"kind": "act",
"impl": "imperative",
"description": "Audit every accepted tool contract with deterministic metadata and example checks, then visibly populate the workbench audit panel with supported findings.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}propose_contract_revisionAction
Validate and stage the smallest structured patch for one accepted contract, preserve the fixed executable tool name, and show an exact before-and-after diff without accepting the proposal.
View tool JSON
{
"name": "propose_contract_revision",
"kind": "act",
"impl": "imperative",
"description": "Validate and stage the smallest structured patch for one accepted contract, preserve the fixed executable tool name, and show an exact before-and-after diff without accepting the proposal.",
"inputSchema": {
"type": "object",
"properties": {
"toolName": {
"type": "string",
"description": "Name of the accepted tool contract to revise.",
"enum": [
"list_tool_contracts",
"get_tool_contract",
"audit_tool_contracts",
"propose_contract_revision",
"preview_contract_bundle"
],
"pattern": "^[a-z][a-z0-9_]*$"
},
"baseRevision": {
"type": "integer",
"description": "Exact accepted revision on which the patch is based.",
"minimum": 1
},
"rationale": {
"type": "string",
"description": "Concise evidence-based reason for the proposed changes.",
"minLength": 8
},
"changes": {
"type": "object",
"description": "Replacement values for documented contract fields; names and revision numbers are intentionally unavailable.",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"summary": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"description": {
"type": "string",
"maxLength": 4000
},
"outputSchema": {
"type": "object"
},
"annotations": {
"type": "object",
"properties": {
"readOnlyHint": {
"type": "boolean"
},
"untrustedContentHint": {
"type": "boolean"
}
},
"additionalProperties": false
},
"sideEffect": {
"type": "string",
"enum": [
"none",
"populates-audit-panel",
"stages-revision",
"opens-artifact-preview"
]
},
"examples": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"description": {
"type": "string",
"maxLength": 2000
},
"input": {},
"output": {}
},
"required": [
"title",
"input",
"output"
],
"additionalProperties": false
}
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"summary": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"recovery": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"code",
"summary"
],
"additionalProperties": false
}
},
"states": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uniqueItems": true
},
"prerequisites": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uniqueItems": true
},
"privacy": {
"type": "object",
"properties": {
"outputSource": {
"type": "string",
"enum": [
"system",
"developer",
"external"
]
},
"note": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"outputSource",
"note"
],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": [
"toolName",
"baseRevision",
"rationale",
"changes"
],
"additionalProperties": false
}
}preview_contract_bundleAction
Generate and visibly open WebMCP registration metadata, canonical contract JSON, Markdown, and an explicitly non-network OpenAPI 3.1 documentation projection from the accepted registry.
View tool JSON
{
"name": "preview_contract_bundle",
"kind": "act",
"impl": "imperative",
"description": "Generate and visibly open WebMCP registration metadata, canonical contract JSON, Markdown, and an explicitly non-network OpenAPI 3.1 documentation projection from the accepted registry.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}