Skip to content
Back to skills

Toolqa Eval

ASecurity

Evaluates whether LLMs can correctly answer questions that require interacting with external tools, rather than relying on pre-trained knowledge. It probes tool selection, multi-step tool chaining, and reasoning over execution traces in an open-ended setting. Use when the user wants to benchmark on ToolQA, or asks about evaluating this task. Reports success rate.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
researchpythongogitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill toolqa-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Toolqa Eval?

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

Security grade badge for Toolqa Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-toolqa-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-toolqa-eval)

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: toolqa-eval
description: Evaluates whether LLMs can correctly answer questions that require interacting with external tools, rather than relying on pre-trained knowledge. It probes tool selection, multi-step tool chaining, and reasoning over execution traces in an open-ended setting. Use when the user wants to benchmark on ToolQA, or asks about evaluating this task. Reports success rate.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2306.13304
  bibtex_key: [REDACTED]
  confidence: high
---

# toolqa-eval

> ToolQA: A Dataset for LLM Question Answering with External Tools — Zhuang et al. (2023) (arXiv:2306.13304, 2023)

## What this evaluates

Evaluates whether LLMs can correctly answer questions that require interacting with external tools, rather than relying on pre-trained knowledge. It probes tool selection, multi-step tool chaining, and reasoning over execution traces in an open-ended setting.

## Datasets

- **ToolQA** — total ?; splits: test (-1); repo https://github.com/night-chen/ToolQA

## Metrics

- `success rate` **(primary)** — range: percent
  - Percentage of instances where the normalized model prediction exactly matches the normalized ground-truth answer.

## Input / output format

**Input**: Question text requiring external tool interaction, plus 8 tool-level demonstrations and system prompts.

**Output**: Final answer string (for standard LLMs) or interleaved reasoning traces and tool calls (for tool-augmented models), normalized for comparison.

## Scoring recipe

```python
def compute_success_rate(predictions, gold_answers):
    norm_preds = [normalize(p) for p in predictions]
    norm_golds = [normalize(g) for g in gold_answers]
    correct = sum(1 for p, g in zip(norm_preds, norm_golds) if p == g)
    return (correct / len(predictions)) * 100
```

## Common pitfalls

- Questions are strictly out-of-distribution relative to pre-training data, so models cannot rely on memorized facts.
- Evaluation is open-ended regarding tool chains; only the final answer matters, not the specific tools used.
- Normalization of answers is required before exact matching to handle formatting variations.

## Evidence (verbatim from paper)

> To assess the performance of methods on the ToolQA benchmark, we normalize both the ground-truth answers and the model predictions to ensure uniformity in format. Success rates are then computed based on the exact match between these normalized answers.

## Citation

```bibtex
@misc{zhuang2023toolqa,
  title={ToolQA: A Dataset for LLM Question Answering with External Tools},
  author={Zhuang et al. (2023)},
  year={2023},
  note={arXiv:2306.13304}
}
```

- arXiv: 2306.13304

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.

Comments

Loading comments…

Newsletter

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