---
title: "Raise your tool success rate — PromptConduit"
description: Failed tool calls waste a full round-trip each. Give the agent what it needs to get them right first time.
image: "https://promptconduit.dev/og-image.png"
---

<!-- Markdown copy of https://promptconduit.dev/coaching/raise-tool-success-rate. Index of every page: https://promptconduit.dev/llms.txt -->

# Raise your tool success rate

Failed tool calls waste a full round-trip each. Give the agent what it needs to get them right first time.

Updated October 8, 2026 · [Scott Havird](https://promptconduit.dev/about) · 3 min read

Your **tool success rate** is the share of tool calls (shell commands, file reads, edits, searches, MCP calls) that complete without an error.

## When PromptConduit flags this

PromptConduit counts every tool call the agent makes. A call is a **failure** if it arrives through the `PostToolUseFailure` hook, or if its response is flagged as an error or as interrupted. Everything else is a success. The rate is successes divided by total calls.

The **“Some tool calls are failing”** warning fires when the rate is **above 0% and below 85%**:

-   **Editor extension (live session):** with at least 20 tool calls, in a session with at least 3 prompts.
-   **Web Trends view:** with at least 50 tool calls across the selected period and at least 5 prompts.

The minimum call count keeps a couple of early failures in a short session from tripping the warning.

## Why it matters

A failed call is a full round-trip that produced nothing useful. The agent sends a request, waits for the tool, reads the error, and then spends another request deciding what to try next. Each of those requests resends the conversation. The error text itself also lands in context and stays there for the rest of the session.

Failures cluster. One wrong assumption, like the wrong working directory, a missing environment variable, or a non-standard test command, can fail a dozen calls before the agent figures it out. A low rate is usually a few root causes repeated, not a lot of independent bad luck.

Not every failure is a problem. A test run that fails because the bug isn’t fixed yet is the agent doing its job. The warning threshold sits well below the “good” line (95%) for that reason.

## What to do

**Write the environment down once.** Most avoidable failures come from things the agent can’t know: how to build, how to run one test, which package manager, which directories are generated. Put them in a project `CLAUDE.md`:

```
## Commands
- Install: pnpm install (not npm)
- Test one file: pnpm vitest run path/to/file.test.ts
- Typecheck: pnpm typecheck

## Notes
- src/generated/ is codegen output; never edit it by hand.
- API tests need the dev server: run pnpm dev first.
```

In Claude Code, `/init` generates a starting `CLAUDE.md` from your codebase. Keep it short; Anthropic recommends under 200 lines per file.

**Give exact paths and commands in the prompt.** “Fix the failing test in `src/auth/refresh.test.ts`; run it with `pnpm vitest run src/auth/refresh.test.ts`” avoids a round of guessing.

**Let it read before it writes.** Ask the agent to open the file, or run `--help` on an unfamiliar CLI, before acting. A read is cheap. A wrong edit that fails to apply, or a command with the wrong flags, costs a round-trip and a recovery.

**Watch for one tool failing repeatedly.** If the same tool keeps failing, there’s usually a single fix, like a permission rule, a missing dependency, or a server that isn’t running. Fix the cause instead of letting the agent retry.

**Don’t hard-stop mid-tool unless you need to.** Pressing Esc during a tool call interrupts it, and an interrupted call is counted as a failure. See [reduce interruptions](https://promptconduit.dev/coaching/reduce-interruptions).

**Check MCP servers.** A server that dropped its connection fails every call to its tools. In Claude Code, `claude mcp list` shows each server’s health, and `/mcp` shows status inside a session. See [right-size your MCP servers](https://promptconduit.dev/coaching/right-size-mcp-servers).

## How to check it worked

In the editor extension’s coaching tab, the **Tool success** cell under “How you drove the agent” shows the live session’s rate. It reads as good at 95% or more and as a warning below 85%. Success rates for individual skills and subagents appear in the **Skills & subagents** table, which helps you spot a single workflow causing most of the failures.

If you are signed in, `promptconduit insights tools` shows tool usage with success rates and `promptconduit insights errors` shows recurring error patterns, both with `--period` (24h, 7d, 30d, 90d). See [/docs/editor-extension](https://promptconduit.dev/docs/editor-extension) for the extension and [/docs/tools](https://promptconduit.dev/docs/tools) for which assistants report tool failures through hooks.

## Frequently asked questions

### What counts as a failed tool call in PromptConduit?

A call reported through the PostToolUseFailure hook, or a completed call whose response is marked as an error or as interrupted. Everything else that completes counts as a success.

### What tool success rate triggers the warning?

Below 85%, as long as the rate is above zero. The editor extension needs at least 20 tool calls in the session; the web Trends view needs at least 50 in the period.

### What is a good tool success rate?

The editor extension's coaching tab marks 95% or higher as good and below 85% as a warning. Some failures are normal, for example a test run that fails because the code is not fixed yet.

### How do I give Claude Code project context up front?

Put build and test commands, coding standards, and conventions in a project CLAUDE.md (./CLAUDE.md or ./.claude/CLAUDE.md). Run /init to generate a starting file from your codebase.

Get this coaching on your own sessions

The free PromptConduit CLI and editor extension compute coaching insights like this one from your own Claude Code and Cursor sessions, fully offline.

`curl -fsSL https://promptconduit.dev/install | bash`

[Quick start →](https://promptconduit.dev/docs/quick-start) [Teams: free up to 3, Team $99/month flat →](https://promptconduit.dev/pricing)

## Related

-   [Batch your tool calls](https://promptconduit.dev/coaching/batch-tool-calls)
    
    Grouping independent reads and edits cuts round-trips and output tokens.
    
-   [Delegate with subagents](https://promptconduit.dev/coaching/delegate-with-subagents)
    
    Parallel agents cover more ground and keep your main context clean.
    
-   [Right-size your MCP servers](https://promptconduit.dev/coaching/right-size-mcp-servers)
    
    Connect the MCP servers you actually use and prune the rest.
    

[← All guides](https://promptconduit.dev/coaching)

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "@id": "https://promptconduit.dev/#software",
  "name": "PromptConduit",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "macOS, Linux, Windows",
  "description": "PromptConduit shows what AI coding costs per developer, repo, and pull request across Claude Code and Cursor. An open-source CLI records every session to a local JSONL file first, with git context and exact cost computed on your machine. Teams sync to see spend across members, models, repos, and clients, with budgets and alerts.",
  "url": "https://promptconduit.dev",
  "installUrl": "https://promptconduit.dev/docs/installation",
  "softwareHelp": {
    "@type": "CreativeWork",
    "url": "https://promptconduit.dev/docs"
  },
  "releaseNotes": "https://promptconduit.dev/changelog",
  "license": "https://opensource.org/licenses/MIT",
  "isAccessibleForFree": true,
  "publisher": {
    "@id": "https://promptconduit.dev/#organization"
  },
  "offers": [
    {
      "@type": "Offer",
      "name": "Free",
      "description": "The full CLI on your machine, and a team of up to 3.",
      "price": "0",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 3,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Team",
      "description": "Up to 15 members. One flat price, no seat math.",
      "price": "99",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "99",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 15,
        "unitText": "members"
      }
    },
    {
      "@type": "Offer",
      "name": "Growth",
      "description": "Up to 50 members, for teams and agencies running AI across many repos.",
      "price": "249",
      "priceCurrency": "USD",
      "url": "https://promptconduit.dev/pricing",
      "availability": "https://schema.org/InStock",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "249",
        "priceCurrency": "USD",
        "unitCode": "MON",
        "referenceQuantity": {
          "@type": "QuantitativeValue",
          "value": 1,
          "unitCode": "MON"
        }
      },
      "eligibleQuantity": {
        "@type": "QuantitativeValue",
        "maxValue": 50,
        "unitText": "members"
      }
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://promptconduit.dev/#organization",
  "name": "PromptConduit",
  "url": "https://promptconduit.dev",
  "logo": "https://promptconduit.dev/favicon.svg",
  "email": "hello@promptconduit.dev",
  "contactPoint": {
    "@type": "ContactPoint",
    "contactType": "customer support",
    "email": "hello@promptconduit.dev",
    "url": "https://promptconduit.dev/about"
  },
  "sameAs": [
    "https://github.com/promptconduit/cli",
    "https://github.com/promptconduit/editor-extension",
    "https://twitter.com/promptconduit"
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Raise your tool success rate",
  "description": "Failed tool calls waste a full round-trip each. Give the agent what it needs to get them right first time.",
  "author": {
    "@type": "Person",
    "@id": "https://promptconduit.dev/about#person",
    "name": "Scott Havird",
    "url": "https://promptconduit.dev/about",
    "sameAs": [
      "https://scotthavird.com",
      "https://github.com/scotthavird"
    ],
    "worksFor": {
      "@id": "https://promptconduit.dev/#organization"
    }
  },
  "publisher": {
    "@id": "https://promptconduit.dev/#organization"
  },
  "datePublished": "2026-06-29",
  "dateModified": "2026-10-08",
  "mainEntityOfPage": "https://promptconduit.dev/coaching/raise-tool-success-rate",
  "image": "https://promptconduit.dev/og-image.png",
  "keywords": "tool calls, errors, context, agent skills"
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://promptconduit.dev/"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Coaching guides",
      "item": "https://promptconduit.dev/coaching"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Raise your tool success rate",
      "item": "https://promptconduit.dev/coaching/raise-tool-success-rate"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What counts as a failed tool call in PromptConduit?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A call reported through the PostToolUseFailure hook, or a completed call whose response is marked as an error or as interrupted. Everything else that completes counts as a success."
      }
    },
    {
      "@type": "Question",
      "name": "What tool success rate triggers the warning?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Below 85%, as long as the rate is above zero. The editor extension needs at least 20 tool calls in the session; the web Trends view needs at least 50 in the period."
      }
    },
    {
      "@type": "Question",
      "name": "What is a good tool success rate?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The editor extension's coaching tab marks 95% or higher as good and below 85% as a warning. Some failures are normal, for example a test run that fails because the code is not fixed yet."
      }
    },
    {
      "@type": "Question",
      "name": "How do I give Claude Code project context up front?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Put build and test commands, coding standards, and conventions in a project CLAUDE.md (./CLAUDE.md or ./.claude/CLAUDE.md). Run /init to generate a starting file from your codebase."
      }
    }
  ]
}
```
