Skip to content
Back to skills

Tool Call Fidelity Checker

ASecurity

Check tool/function definitions for hallucination-prone schemas. Trigger: /tool-fidelity

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentsshellapi

Works with

  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill tool-call-fidelity-checker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tool Call Fidelity Checker?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tool Call Fidelity Checker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-tool-call-fidelity-checker/badge)](https://www.skillsdirectory.com/skills/majiayu000-tool-call-fidelity-checker)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tool-call-fidelity-checker
description: "Check tool/function definitions for hallucination-prone schemas. Trigger: /tool-fidelity"
trigger: /tool-fidelity
---
# /tool-fidelity

LLM function calling requires precise tool definitions. This skill finds ambiguous schemas that cause models to call APIs wrong.

## What this is for

- Missing parameter descriptions (model guesses format)
- Ambiguous types (string without enum for fixed options)
- Excessive optional parameters (model fills hallucinated defaults)
- TOCTOU parameters (model can't know current state)
- **Read-only skill.** No code changes.


## PROTECTION RULE - never ~/.claude/

Read-only skill. Guard required if write mode added later.

## What You Must Do When Invoked
During analysis, assign a confidence level to each finding: proven (confirmed by evidence), likely (strong signal, needs review), or suspected (weak signal).

If `/tool-fidelity -help` or `/tool-fidelity -h` (without further arguments)
is invoked: output the `## Usage` section unchanged and stop.

Otherwise follow these steps in order, skipping none.

### Step 1 - Help check
If invoked with `-help` or `-h`, output the `## Usage` section unchanged and stop.

### Step 2 - Clarify target

Clarify `-ProjectDir`. Get confirmation.

### Step 3 - Scan

```powershell
& "<SKILL_DIR>/scripts/tool-scan.ps1" -ProjectDir "<path>"
```

### Step 4 - Classification

For each tool definition:

- **Safe**: well-defined, all parameters described
- **Risky**: ambiguous parameters, missing descriptions
- **Dangerous**: hallucination-prone definitions

### Step 5 - Write report

File `tool-fidelity-report.md` in current working directory:

1. **Summary** - tools by classification.
2. **Tool table** - dangerous first. Per tool: file, line, tool name, parameter count, missing descriptions, ambiguous types, TOCTOU risk, recommendation.
3. **Open questions**.

### Step 6 - Summarize

State report path, highlight dangerous tool definitions.

## Usage

```
/tool-fidelity               # interactive
/tool-fidelity <dir>         # scan project
/tool-fidelity -help
```


Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.