No-parameter MCP tools should set additionalProperties: false
For a tool with no parameters, use an object schema with additionalProperties false, as the MCP spec recommends. Info-level, warn status.
For tools without parameters, declare { "type": "object", "additionalProperties": false }. The rule schema.empty-open is an info-level, warn-status finding for general clients.
What you see
- A scan reports
schema.empty-open: "Open empty schema". - It fires when
inputSchemais an object with no properties andadditionalPropertiesis notfalse.
Why it happens
Many SDKs emit { "type": "object" } or { "type": "object", "properties": {} } for a tool with no arguments. That schema accepts any extra keys. The rule's fix text calls the false form the spec's recommended form.
Check it yourself
curl -s -X POST https://mcp.acme.example/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H "Authorization: Bearer $TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
| jq -r '.result.tools[] | select((.inputSchema.properties // {} | length) == 0 and .inputSchema.additionalProperties != false) | .name'
Fix
{ "type": "object", "additionalProperties": false }
Verify
The command prints nothing, then re-scan.
Which clients care
General, per the rule.
Source
MCP tools spec: https://modelcontextprotocol.io/specification/2026-07-28/server/tools
Run a free scan at https://mcpshipyard.com/scan to check every rule at once.
Check every rule at once
A free scan runs this check and the other 152 against your live URL.