Smarter models need fewer words and stricter tools. But a typed CLI is only typed where its schema reaches.
Here's that gap in two commands. Both use Cloudflare's cf CLI, which is generated from its API schema. Both are dry runs. You need Node and no Cloudflare login. The zone ID is a placeholder, and the version is pinned because cf is an open beta.
A wrong letter in a flag
npx --yes cf@1.0.0-beta.27 dns records list --dry-run \
-z 023e105f4ecef8ad9ca31a8372d0c353 --type AAA
Run this and you get help text, then exit code 1 and this:
┌ Error
│ Invalid values:
│ Argument: type, Given: "AAA", Choices: "A", "AAAA", "CAA", "CERT", "CNAME",
│ "DNSKEY", "DS", "HTTPS", "LOC", "MX", "NAPTR", "NS", "OPENPGPKEY", "PTR",
│ "SMIMEA", "SRV", "SSHFP", "SVCB", "TLSA", "TXT", "URI"
└
An agent gets the mistake and the valid values in one message.
The same letter in a body
cf dns records create has no --type flag. Pass one and you get Unknown arguments. It takes a JSON body instead:
npx --yes cf@1.0.0-beta.27 dns records create --dry-run \
-z 023e105f4ecef8ad9ca31a8372d0c353 \
--body '{"type":"AAA","name":"test","content":"192.0.2.1"}'
Run this and you get exit code 0. The typo stays in the request:
{
"command": "cf dns records create",
"method": "POST",
"url": "https://api.cloudflare.com/client/v4/zones/023e105f4ecef8ad9ca31a8372d0c353/dns_records",
"pathParams": {
"zone-id": "023e105f4ecef8ad9ca31a8372d0c353"
},
"query": {},
"bodyKind": "json",
"body": {
"type": "AAA",
"name": "test",
"content": "192.0.2.1"
}
}
Ask the CLI why:
npx --yes cf@1.0.0-beta.27 schema dns records create
The output ends with "hasRequestBody": true and "requestBodyFields": []. There are no body fields to check. The API may still refuse AAA, but a dry run can't tell you. cf zones create --dry-run with no domain name passes the same way.
The test
Pass one bad value to a dry run of any tool you give an agent.
- It stops and lists the valid values: that argument is typed.
- It goes through: that argument is still on you.
This shows refusals, not results. It doesn't show that agents finish more tasks with types. That takes the same task, run both ways, and counted.
Why bother: prose can only ask
A CLAUDE.md rule asks. Claude Code's docs say Claude treats these files as "context, not enforced configuration". To block an action, they point to a hook.
Setup keeps moving down a layer, from prose into types. Four other things moved with it.
Instructions shrink. Anthropic's prompt audit guidance says current Claude models follow instructions more literally, so stale rules get obeyed. Claude Code's docs recommend under 200 lines per CLAUDE.md and moving procedures into skills. /doctor prompt-audit flags rules written for older models.
A study by Gloaguen, Mündler-Sasahara, Müller, Raychev and Vechev found context files raised inference cost by over 20% on average and didn't generally improve task success. That's an average over the agents and tasks they tested, not proof your file hurts your model.
Skills load on demand. The open spec keeps only the name and description in context at startup, and recommends a body under 500 lines. Its guide asks one question of each line: "Would the agent get this wrong without this instruction?"
MCP goes stateless. The 2026-07-28 spec retired the initialize exchange and the Mcp-Session-Id header. Each request describes itself:
# Before 2026-07-28
POST /mcp
Mcp-Session-Id: 4f9c2e1a-…
# Since 2026-07-28
POST /mcp
MCP-Protocol-Version: 2026-07-28
Your application can still keep state. Old servers don't upgrade themselves.
Plugins ship it together. Agent Plugins 1.0 puts skills and MCP servers in one folder for Codex, Cursor, Copilot and VS Code. Claude Code has its own format. Install and permissions still differ by client.
Agent Plugins 1.0 Claude Code
my-plugin/ my-plugin/
├── plugin.json ├── .claude-plugin/plugin.json
├── skills/ ├── skills/
└── mcp.json └── .mcp.json
My rule of thumb
A CLI for tools on your machine, MCP for anything that needs auth, audit or many users.
It has holes. cf logs in and calls remote services. MCP can run locally over stdio.
Less prose, more types.
The maintained version, with every source, is on argbe.tech.

Top comments (0)