# Many visible parameters

> ax-check rule: The tool exposes more than 15 parameters, and every visible parameter is one more an agent may fill wrongly.

Section: ax-check rule · Descriptions and schemas  
Canonical: https://agentexperience.tech/checks/axc-d021/

The tool exposes more than 15 parameters, and every visible parameter is one more an agent may fill wrongly.

- **How serious**: **info** Worth knowing, but may be fine for your product.
- **Kind of check**: **[Heuristic](https://agentexperience.tech/checks/#kinds)** A pattern match: a prompt to look, not a verdict.
- **ax-check command**: `ax-check lint`
- **Where it applies**: MCP tool lists, OpenAPI, CLI help
- **Topics**: [selection](https://agentexperience.tech/evidence/#pattern-selection), [context-budget](https://agentexperience.tech/evidence/#pattern-context-budget)
- **Rule text from**: ax-check 0.2.0Documented ahead of release

**Fix in one line** Hide rarely used parameters, give them defaults, or split the tool by task.

The tool exposes more than 15 parameters. Every visible parameter is one more thing an agent must read, decide about and possibly fill wrongly, and it adds to the context cost of the tool. This is information, not a failure: some tools need many inputs, but most calls use only a few of them.

## What it checks

ax-check counts the inputs of each tool, operation or subcommand and reports any that has more than 15.

## Why it matters

An agent sees every parameter in the schema and has to decide, for each one, whether to set it and to what. Rarely used options sit beside the essential ones with the same weight. If a parameter’s allowed values live only in prose, a wrong value may not even produce an error.

Most parameters carry no machine-checkable limits. In the SilentProbe paper (Li, Ye, Guo and Dang, arXiv 2609.00035, 29 August 2026), across 721,320 parameters in 2,501 OpenAPI documents, 7.5% declared an enumeration and 15.2% any machine-checkable constraint (the paper’s claim). The more parameters a tool shows, the more places such a gap can hide.

Splitting is a trade-off, not a free win: more, smaller tools mean more entries to choose between. In MCP-GRANITE (Paschalides et al., arXiv 2609.24161, 21 September 2026), a 4-tool interface gave the best trade-off in the authors’ setting (the paper’s claim, with small local models).

## How to fix

- Give rarely used parameters sensible defaults and say so in their descriptions.
- Hide expert options behind a single `options` object, or move them to a separate tool for the rare task that needs them.
- Split the tool by task when different callers use different halves of the parameter list.
- Put allowed values in the schema (`enum`, `minimum`, `format`) so the parameters that remain can be checked.

## Example

### Before

```json
{
  "name": "create_invoice",
  "inputSchema": {
    "type": "object",
    "properties": {
      "customer_id": {}, "amount": {}, "currency": {}, "due_date": {},
      "po_number": {}, "memo": {}, "footer": {}, "locale": {},
      "tax_rate": {}, "tax_id": {}, "discount_code": {}, "template_id": {},
      "logo_url": {}, "send_copy_to": {}, "late_fee_percent": {}, "reminder_days": {},
      "rounding_mode": {}, "custom_fields": {}
    }
  }
}
```

### After

```json
{
  "name": "create_invoice",
  "inputSchema": {
    "type": "object",
    "properties": {
      "customer_id": {}, "amount": {}, "currency": {}, "due_date": {},
      "memo": {}, "options": { "type": "object", "description": "Rarely needed settings: tax, template, reminders. Defaults suit most invoices." }
    },
    "required": ["customer_id", "amount", "currency"],
    "additionalProperties": false
  }
}
```

The property schemas are left empty here to keep the example short; real ones need types and descriptions.

## How ax-check detects it

ax-check counts the inputs of each entry and reports the entry when the count is more than 15. What counts as an input:

- MCP: the top-level properties of `inputSchema`. Properties of nested objects are not counted.
- OpenAPI: the path, query, header and cookie parameters (path-level and operation-level, with the operation’s version winning when both define the same one), plus the top-level properties of the JSON request body.
- CLI help: the flags shown in a subcommand’s own `--help`, leaving out `--help`, `-h`, `--version` and `-V`. A `-v` flag counts, because `-v` can mean `--verbose`. The root command is not counted, and a subcommand whose help was not captured counts as zero.

The threshold of 15 is the default of the `maxParams` option of `lintSurface` in the ax-check library. There is no command-line flag for it. The finding gives the count.

Known false positives: tools that mirror a large, well-known interface (for example a full search API) may need every parameter. Known false negatives: a tool with 10 parameters, each a large nested object, passes.

If the finding does not apply, silence it with `--disable <rule-id>`.

## Sources

- Paper: Li, Ye, Guo and Dang, “SilentProbe: Measuring Silent Failure in Production APIs Used as Agent Tools”, arXiv 2609.00035, 29 August 2026. [https://arxiv.org/abs/2609.00035](https://arxiv.org/abs/2609.00035). The paper’s claim: across 721,320 parameters in 2,501 OpenAPI documents, 7.5% declare an enumeration and 15.2% any machine-checkable constraint. Endpoints were reached through one aggregation layer with which the authors declare an affiliation.
- Paper: Paschalides et al., “MCP-GRANITE”, arXiv 2609.24161, 21 September 2026. [https://arxiv.org/abs/2609.24161](https://arxiv.org/abs/2609.24161). The paper’s claim, with small local models: a 4-tool interface gave the best trade-off in their setting.
- Guide: Write tool descriptions an agent can act on, agentexperience.tech, retrieved 2026-10-08. [https://agentexperience.tech/insights/tool-descriptions/](https://agentexperience.tech/insights/tool-descriptions/). Write the parameters as carefully as the description and put closed sets in the schema.

## Related evidence

Records in the [AX evidence register](https://agentexperience.tech/evidence/) about the same pattern as this rule. They don’t test the rule itself.

- [Injected skills lowered pass rates and raised token cost on average](https://agentexperience.tech/evidence/ev-0017/): WebDev-Skills-Bench (preprint) found that injecting matched public skills reduced mean Pass@2 by 1.3% to 4.2% across four models and raised token cost by 72% to 394%, with gains in only 17% to 36% of skill-project pairs. Preprint: not yet peer reviewed
- [Skill selection precision collapses as the skill pool grows](https://agentexperience.tech/evidence/ev-0019/): A preprint reports that as the pool of available skills grew from 5 to 100, the precision with which agents actually used the right skill fell from 29.6% to 3.3%. Preprint: not yet peer reviewed
- [Praise and list order move tool selection](https://agentexperience.tech/evidence/ev-0020/): A preregistered preprint with two small OpenAI models found that stacked praise in a tool description raised its pick rate by about 43 percentage points, and that with identical listings the first-listed tool was picked about 72 points more often. Preprint: not yet peer reviewed
- [Agents leave available tools unused: the adoption gap](https://agentexperience.tech/evidence/ev-0021/): On OSWorld-MCP (preprint), a reasoning model given MCP tools called one on only 55 of 309 tasks, 23.9% of the tasks a tool could reach, and the same tools made a non-reasoning model 5.9 points worse. Preprint: not yet peer reviewed
- [Search-and-execute meta-tools cut catalogue tokens by 99% in production](https://agentexperience.tech/evidence/ev-0022/): PayPal authors report (preprint) that exposing two meta-tools, search and execute, over 2,000+ MCP tools cut tool-token consumption in production from 140.2k tokens (70.1% of context) to 1.3k tokens (0.8%). Preprint: not yet peer reviewed
- [A capable agent skipped the index and guessed the page](https://agentexperience.tech/evidence/ev-0027/): A preregistered ablation on a 709-page Markdown wiki (preprint) found that a capable tool-using agent never loaded the compact catalogue index, inferring page paths from the question instead, while retrieval-based access kept answer quality non-inferior and cut cost by about a third to over half. Preprint: not yet peer reviewed

## Related guides

- [Write tool descriptions an agent can act on](https://agentexperience.tech/insights/tool-descriptions/): How to write tool names, descriptions and JSON schemas that help an AI agent choose correctly, and why tool text deserves review like interface copy. Guide
- [Agent tool catalogues need a pruning strategy](https://agentexperience.tech/insights/agent-tool-catalogs/): How to design an agent tool catalogue: why selection gets harder as an MCP tool catalog grows, three ways to prune it, and how to name neighbouring tools. Guide

## Go here next

- [Write tool descriptions an agent can act on](https://agentexperience.tech/insights/tool-descriptions/): The text around a tool affects whether an agent can find it, choose it, and use it well. Guide
- [Praise and list order move tool selection](https://agentexperience.tech/evidence/ev-0020/): A preregistered preprint with two small OpenAI models found that stacked praise in a tool description raised its pick rate by about 43 percentage points, and that with identical listings the first-listed tool was picked about 72 points more often. Evidence
- [SKILL.md frontmatter missing or invalid](https://agentexperience.tech/checks/axc-d022/): SKILL.md has no YAML frontmatter, the YAML does not parse, or name or description is missing. Rule

## About this rule text

[Promotional language in a description](https://agentexperience.tech/checks/axc-d020/)

[SKILL.md frontmatter missing or invalid](https://agentexperience.tech/checks/axc-d022/)

[All ax-check rules](https://agentexperience.tech/checks/)

Rule text from ax-check 0.2.0, by Himadri Mishra. The licence will be confirmed before the source repository is published.
