Get Governance Score
get_governance_scoreGet the quality score. Scope 'org' (default) averages across the organization's specs with the trend and a per-spec breakdown. Scope 'spec' needs specId and recalculates that spec's score on the spot — that writes a new snapshot and may raise alerts, so it is not a free read. Use this for the score itself; for the thresholds and weights behind it use get_governance_config. Requires project context for scope 'spec'.
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": "get_governance_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | What to score: 'org' (default) or 'spec' | org |
| specId | No | Public ID (GUID) of the API specification — required for scope 'spec' |