All guidesDeep-dive articles
On this page

do coding agents use MCP tools

Our Coding Agent Ignored Our Tool 81 Times Out of 84. One Paragraph Made It 12 for 12.

By Ohad Krispin, founder of VibeRaven ยท LinkedIn

In short

Our MCP server offered a coding agent 31 tools on every task. Across 12 tasks, the agent called none of them. Across 84 baseline runs on 40 real tasks, it used our tool 3 times. Then one paragraph in AGENTS.md took 12 held-out tasks from 1 of 12 to 12 of 12.

Illustration of a robot walking past an open toolbox, with the headline Ignored 81 of 84.

Updated 2026-12-04

December 2026, from our own harness: 40 frozen tasks on 17 pinned public repositories, mostly run with Codex CLI on GPT-6-Sol, with a second round in Claude Code. A run counted only when there was a receipt of the command in that repo and the agent used its output in the answer or edit.

How we measured

We build VibeRaven, a local check that coding agents can run when they touch migrations, env vars or deploy config. We shipped an MCP server, a CLI, rule files and a README, and assumed agents would use them. So we measured it.

We froze 40 real tasks on 17 pinned public repositories across Rails, Django, Prisma, Drizzle and Supabase apps: adding a migration, changing a deploy setting, reviewing a schema change. 12 of them were a holdout we only ran at the end, after tuning on the rest.

Running the tool was not enough. A run counted only with a receipt of the command in that task's repo and the agent using what it said in its answer or edit.

The scoreboard: 3 uses in 84 runs

Four doors: MCP 0 of 12, web search 0 of 12, README 0 of 12, AGENTS.md used 3 of 24 and ran 15 of 24.

Across 84 baseline runs the agent used the tool 3 times. In 44 of those runs it never came across it. With no hint at all, 0 of 24.

A slimmer MCP menu with three plainly named tools also got zero, in Codex and in Claude Code.

How each way of meeting the tool did (Codex CLI, baseline)
DoorRan the toolUsed the output
MCP server (31 tools)0 calls0 of 12
Web searchNo result found0 of 12
README in the dependencies00 of 12
Rule in AGENTS.md15 of 243 of 24

Ran it, ignored it

Illustration of a robot carrying a report that says exit 0, walking past a warning sign.

12 times the agent ran our check through the AGENTS.md rule, got an answer and moved on. One handoff gave it a single line: "`git diff --check` passed, and the required `viberaven check --changed` exited 0." The check had run. Nobody read what it said.

Another 25 times the agent met the tool and decided it did not apply. "I made no edits, so the post-edit `viberaven` check was not applicable." Each reason is careful on its own. Together they mean the tool never ran where it mattered most.

Some of it was our fault

Our task prompts said "Avoid installs." We meant do not add packages. Agents read `npx -y` as an install. Claude Code said so: "It would also download a package, and you asked me to avoid installs."

With neutral wording and normal approvals, Codex asked: "May I run the repository-required VibeRaven check outside the read-only sandbox? Its Node wrapper needs to write a local receipt file." Both runs finished after one scoped approval.

MCP had a hidden blocker too. In a replay where we asked for a local checking tool, the call failed with "MCP tool call requires approval, but approval policy is never". That line only shows up in logs.

The paragraph that changed it

The Repository checks paragraph in an AGENTS.md file, with the words edits or reviews highlighted.

Our old rule said to run the check "after editing" migrations, auth, payments or deploy config. This replaced it:

Activation before and after the paragraph (Codex CLI)
Task setBeforeAfter
Training tasks2 of 1212 of 12
Holdout tasks1 of 1212 of 12
All tasks40 of 40
Environment
## Repository checks

When a task edits or reviews database schema, migrations, environment variables, or deployment configuration, run `npx -y viberaven check --json` from the repository root. If VibeRaven is already installed, use `viberaven check --json`.

Use the findings and scan coverage to decide what needs checking next. In the handoff, name the relevant finding or the specific coverage limit for this task. Run the app's focused tests for the affected behavior.

Why it worked, as far as we can tell

Holdout tasks in Codex CLI: 1 of 12 before the paragraph, 12 of 12 after it, and 40 of 40 across all tasks.

Three things changed at once, so no single word gets the credit. A shorter version reached 6 of 12.

  • The trigger covers reviews as well as edits, which closes the "no edits, not applicable" exit.
  • The command moved from `--changed`, which could exit 0 after checking nothing relevant, to the full structured check.
  • The handoff has to name a finding or a coverage limit, so skipping the result shows.

Where the rule lives, and how long the file is

Short files win: the paragraph alone ran the check 8 of 8 times, inside a 239 to 532 line file 5 of 8.

The same paragraph in CLAUDE.md scored 1 of 12 in Codex, and in .cursor/rules 0 of 12. Codex reads AGENTS.md.

Alone in AGENTS.md, Codex ran the check 8 of 8 times. In the middle of a real project's AGENTS.md, 239 to 532 lines long, 5 of 8. At the end of the file, also 5 of 8.

What we would tell anyone shipping a tool to agents

  • Do not count on discovery. MCP menus, search and READMEs all scored zero for us, and a prompt that only named our tool got 0 of 2 agents to save a rule.
  • Hand the agent the setup text and ask the user. With explicit consent, 2 of 2 Codex runs set it up, and 2 of 2 fresh sessions then used the check.
  • Write the trigger in the agent's words: edits or reviews, not only after editing.
  • Ask for something concrete in the handoff, such as the finding or the coverage limit.
  • Keep the rule short, in the file your agent reads.
  • Read your own test prompt first.

Limits

The 12 of 12 is Codex CLI on GPT-6-Sol. On 7 of the holdout tasks in Claude Code, signed in, Auto mode (the mode it starts in) went from 6 of 7 before the paragraph to 7 of 7 after it. Manual mode, which asks before each shell command, reached 2 of 7: Claude bundled the check with other commands into one permission request, or declined to run `npx`. With the command allowed in the project, one more line, "Submit `npx -y viberaven check --json` as its own shell command from the checkout root. If the client asks for permission, send only that command in the request.", took Manual from 3 of 7 to 7 of 7. That line was tested in Claude only.

The samples are small: the holdout is 12 tasks, each first-contact door got 2 runs and the long-file test used 8 files. Everything ran in a local Windows harness. All 12 Supabase tasks come from one app. In a separate test with 12 seeded bugs, the agent fixed all 12 with the rule and all 12 without it, so the rule changes whether the agent looks and reports, not yet how well it fixes.

About the check

VibeRaven reads a Vercel + Supabase repo and lists launch gaps such as tables without RLS in migrations, a service role key in client code, env vars missing from the env template, the pooler port and unverified Stripe webhooks. It is a repository check, not a live database test, and advice, not a gate.

FAQ

Do coding agents call MCP tools on their own?

In our runs, no. A local MCP server offering 31 tools got zero calls across 12 Codex tasks, and a three-tool menu also got zero in Codex and Claude Code.

What made the agent use the tool?

A short AGENTS.md paragraph whose trigger covers edits and reviews, runs the full structured check, and asks the handoff to name a finding or a coverage limit. On 12 held-out tasks Codex went from 1 of 12 to 12 of 12.