Dataset Viewer
Auto-converted to Parquet Duplicate
tools_list
stringlengths
173
352k
messages_history
stringlengths
195
9.15k
binary_label
stringclasses
2 values
label
stringclasses
4 values
failure_reason
stringclasses
632 values
["{'type': 'function', 'function': {'name': 'todoist_rename_shared_labels', 'description': 'Rename one or more shared labels in Todoist', 'parameters': {'properties': {'name': {'type': 'string', 'description': 'The name of the existing label to rename'}, 'labels': {'type': 'array', 'items': {'type': 'object', 'required...
[ { "role": "user", "content": "Can you retrieve the full configuration JSON for the pipeline with ID 'pre-processing' from the 'edge_fleet' worker group in Cribl?" }, { "type": "function_call", "id": "call_tt6r5jn0c1y775f", "name": "cribl_getPipelineConfig", ...
CORRECT
VALID_CALL
None
["{'type': 'function', 'function': {'name': 'eval', 'description': 'Evaluate an expression', 'parameters': {'properties': {'env': {'type': 'object', 'description': 'Optional parameters map'}, 'expression': {'type': 'string', 'description': 'The expression to be evaluated'}}, 'required': ['expression']}}}", '{\'name\': ...
[ { "role": "user", "content": "What is the current weather in New York City?" }, { "type": "function_call", "id": "call_qnjxs9p8vibp0bffo0x0gepiyt3bho", "name": "get_current_weather", "arguments": {'location': '40.7128,-74.0060'} } ]
CORRECT
VALID_CALL
None
["{'name': 'get_24hr_ticker', 'inputSchema': {'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'symbol': {'type': 'string', 'description': 'Trading pair symbol, e.g. BTCUSDT'}, 'symbols': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Array of multiple trading pair ...
[ { "role": "user", "content": "What's the trip log for trip ID 1234567?" }, { "type": "function_call", "id": "call_unc25tk", "name": "get_trip_log", "arguments": {'trip_id': 1234567} } ]
CORRECT
VALID_CALL
None
['{\'name\': \'generateImageUrl\', \'description\': \'Generate an image URL from a text prompt\', \'inputSchema\': {\'type\': \'object\', \'required\': [\'prompt\'], \'properties\': {\'safe\': {\'type\': \'boolean\', \'description\': \'Whether to apply content filtering (default: false)\'}, \'seed\': {\'type\': \'numbe...
[ {"role": "system", "content": "You have access to two tools: 'generateImage' and 'generateImageUrl'. Use 'generateImage(prompt: string, size: string, quality: string)' to create a new image based on a textual description. The 'prompt' should be a detailed description of the desired image content. The 'size' param...
CORRECT
VALID_CALL
None
['{\'type\': \'function\', \'function\': {\'name\': \'search\', \'description\': "Perform a web search using Traylinx\'s API, which provides detailed and contextually relevant results with citations. By default, no time filtering is applied to search results.", \'parameters\': {\'properties\': {\'query\': {\'type\': \'...
[ {"role": "system", "content": "You are a helpful assistant with access to several specialized tools. - `get_character_info(name: str, franchise: str)`: Use this tool to retrieve detailed biographical and historical information about a specific character from a given media franchise. You must provide the character...
CORRECT
VALID_CALL
None
["{'name': 'get_shards', 'description': 'Get shard information for all or specific indices', 'inputSchema': {'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'index': {'type': 'string', 'description': 'Optional index name to get shard information for'}}, 'additionalProperties': Fal...
[ {"role": "system", "content": "You are an AI assistant capable of interacting with various backend services. You have access to the following tools: `get_shards`: Get information about shards. `get_mappings`: Get mapping information. `search`: Perform a general search. `download_icon`: Download a specific icon. `...
CORRECT
VALID_CALL
None
["{'type': 'function', 'function': {'name': 'get_definitions', 'description': '\\n Get definitions for a word.\\n ', 'parameters': {'properties': {'word': {'type': 'string', 'title': 'Word'}}, 'required': ['word']}}}", "{'type': 'function', 'function': {'name': 'metadata_search', 'description': 'Search documents ...
[ { "role": "user", "content": "I need to find all documents in the 'project_reports' table that are authored by 'Dr. Evelyn Reed' and have the status 'approved'. Can you please return a maximum of 15 results?" }, { "type": "function_call", "id": "call_217m19hdmlh", ...
CORRECT
VALID_CALL
None
["{'name': 'get_exchange_info', 'description': 'Get detailed information about a specific exchange.', 'inputSchema': {'type': 'object', 'required': ['exchange'], 'properties': {'vhost': {'type': 'string', 'title': 'Vhost', 'default': '/'}, 'exchange': {'type': 'string', 'title': 'Exchange'}}}}", "{'name': 'purge_queue'...
[ {"role": "system", "content": "You are a helpful home assistant. You have access to tools to interact with the smart home environment. Use 'homeassistant_list_entities' to retrieve a list of entities based on domain or a pattern. Use 'homeassistant_get_state' to get the current state of a specific entity. When us...
CORRECT
VALID_CALL
None
["{'type': 'function', 'function': {'name': 'get_films', 'description': '', 'parameters': {'properties': {'name': {'type': 'string', 'title': 'Name'}}, 'required': ['name']}}}", "{'name': 'get_order', 'description': 'Get an order by ID', 'inputSchema': {'type': 'object', 'required': ['order_id'], 'properties': {'order_...
[ { "role": "user", "content": "Please register a new webhook for my store with ID '12345'. The webhook URL should be 'https://example.com/webhook', it should listen for 'order_created' and 'order_paid' events, and use 'a-super-secret-key' as the secret." }, { "role": "assistant...
CORRECT
VALID_CALL
None
["{'type': 'function', 'function': {'name': 'generate_flux_image', 'description': '\\n Generate an image using Flux stable diffusion model.\\n \\n Args:\\n prompt: The image description to generate\\n output_dir: Directory to save the image (defaults to current directory)\\n cfg_scale: CFG...
[ {"role": "system", "content": "You are an AI assistant with access to a wide range of tools. You can manage conversations (get, archive, assign, add comments, apply/remove tags), handle contacts and accounts (create, get, update), send messages, and retrieve team information. You are also capable of generating va...
CORRECT
VALID_CALL
None
['{\'type\': \'function\', \'function\': {\'name\': \'getFigjamContent\', \'description\': \'Get content from a Figjam board. \\n\\nExample URL: https://www.figma.com/board/{file-id}/{board-name}?node-id={node-id}\\n\\nThe URL format is:\\n- Base: https://www.figma.com/board/\\n- File ID: The string after /board/ and b...
[ { "role": "user", "content": "Can you list all the sticky notes and text elements from the FigJam board located at https://www.figma.com/board/asdf1234/example-board?" }, { "type": "function_call", "id": "call_0a3um", "name": "getFigjamNodes", "argument...
CORRECT
VALID_CALL
None
['{\'name\': \'search_resources\', \'description\': "Search across OpenHEXA resources (workspaces, datasets, pipelines).\\n\\nArgs:\\n query: Search query string\\n resource_type: Optional filter by resource type (\'workspace\', \'dataset\', \'pipeline\')\\n workspace_slug: Optional workspace slug to limit sea...
[ { "role": "user", "content": "Could you list all the files associated with the dataset 'product_sales_2023_data'?" }, { "type": "function_call", "id": "call_t2d647y6", "name": "list_dataset_files", "arguments": {'dataset_id': 'product_sales_2023_data'} ...
CORRECT
VALID_CALL
None
["{'type': 'function', 'function': {'name': 'get-nuget-package-details', 'description': 'Get detailed information about a specific NuGet package', 'parameters': {'properties': {'name': {'type': 'string', 'minLength': 1}}, 'required': ['name']}}}", "{'type': 'function', 'function': {'name': 'search-npm-packages', 'descr...
[ {"role": "system", "content": "You are a helpful assistant with access to two tools: 1. `generate_mermaid_diagram(diagram_type: str, description: str)`: Use this tool to create various types of Mermaid diagrams. Valid `diagram_type` values include 'flowchart', 'sequence_diagram', 'class_diagram', 'state_diagram'...
CORRECT
VALID_CALL
None
["{'type': 'function', 'function': {'name': 'airbnb_listing_details', 'description': 'Get detailed information about a specific Airbnb listing. Provide direct links to the user', 'parameters': {'properties': {'id': {'type': 'string', 'description': 'The Airbnb listing ID'}, 'pets': {'type': 'number', 'description': 'Nu...
[ {"role": "system", "content": "You are a helpful assistant with access to various tools. Use these tools to answer user queries accurately and efficiently. Available tools include: - 'sell-token': To sell cryptocurrency tokens. - 'get-account-balance': To check an account's cryptocurrency balance. - 'buy-token': ...
CORRECT
VALID_CALL
None
["{'name': 'create_rule', 'description': 'Creates a new Semgrep rule', 'inputSchema': {'type': 'object', 'required': ['output_path', 'pattern', 'language', 'message'], 'properties': {'id': {'type': 'string', 'default': 'custom_rule', 'description': 'Rule identifier'}, 'message': {'type': 'string', 'description': 'Messa...
[ {"role": "system", "content": "You are an AI assistant designed to help manage manufacturing processes. You have access to several tools to perform your tasks. **Tools:** 1. `mcpjam_search_mcp_spec(query: str)`: Use this tool to search for specific manufacturing control plan (MCP) specifications. Provide a conci...
CORRECT
VALID_CALL
None
["{'name': 'fund-account', 'description': 'Fund a Stellar account with testnet lumens.', 'inputSchema': {'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['address'], 'properties': {'address': {'type': 'string', 'description': 'The Stellar address to fund'}}, 'additionalProperties': F...
[ { "role": "user", "content": "Can you check the weather forecast for tomorrow in London?" }, { "role": "assistant", "content": "That data is not accessible in my current context." } ]
CORRECT
VALID_CALL
None
["{'type': 'function', 'function': {'name': 'getLiveTemperature', 'description': '\\n Get live temperature for a specific location.\\n\\n Args:\\n latitude: The latitude coordinate (e.g., 40.7128 for New York)\\n longitude: The longitude coordinate (e.g., -74.0060 for New York)\\n\\n Returns:\\n ...
[ { "role": "user", "content": "What is the current temperature at latitude 34.0522 and longitude -118.2437?" }, { "completion_message": { "content": { "type": "text", "text": "" }, "role": "assistant", ...
CORRECT
VALID_CALL
None
['{\'name\': \'get_recommendations_by_genre\', \'inputSchema\': {\'type\': \'object\', \'$schema\': \'http://json-schema.org/draft-07/schema#\', \'required\': [\'genre\'], \'properties\': {\'genre\': {\'type\': \'string\', \'description\': \'ç\\x94µè§\\x86å\\x89§ç±»å\\x9e\\x8bï¼\\x8cå¦\\x82"å\\x96\\x9cå\\x89§"ã\\x80\\x...
[ { "role": "user", "content": "What are the top trending TV shows right now, specifically for today?" }, { "type": "function_call", "id": "call_up8r70qsuyd1o31", "name": "get_trending_shows", "arguments": {'time_window': 'day'} } ]
CORRECT
VALID_CALL
None
["{'name': 'execute', 'description': 'Execute browser automation tasks using natural language commands. This tool interprets your intent and translates it into appropriate browser actions.', 'inputSchema': {'type': 'object', 'required': ['command'], 'properties': {'command': {'type': 'string', 'description': 'Natural l...
[ {"role": "system", "content": "You are an assistant with access to a powerful 'execute' tool. This tool allows you to run shell commands on the underlying system. You should use the 'execute' tool whenever a user asks to perform a command-line operation, run a script, or interact with the file system or system pr...
CORRECT
VALID_CALL
None
["{'type': 'function', 'function': {'name': 'aes_decrypt', 'description': 'decrypt text with aes', 'parameters': {'properties': {'iv': {'type': 'string', 'description': 'iv, default is your-iv-01234567'}, 'key': {'type': 'string', 'description': 'decrypt key, default is your-key-0123456'}, 'mode': {'enum': ['ECB', 'CBC...
[ {"role": "system", "content": "You are an assistant specialized in cryptographic operations. You have access to tools for various hashing, encryption, decryption, encoding, and decoding tasks. When a user requests an operation, identify the correct tool and its parameters. Do not attempt to perform operations not...
CORRECT
VALID_CALL
None
["{'type': 'function', 'function': {'name': 'adjust-standard-report', 'description': 'Get a standard Adjust report with common metrics', 'parameters': {'properties': {'app_tokens': {'type': 'string', 'default': '', 'description': 'Comma-separated list of app tokens to include'}, 'date_range': {'type': 'string', 'defaul...
[ {"role": "system", "content": "You have access to two tools to help with reporting tasks. Use these tools carefully based on the user's request: 1. "adjust-standard-report(report_type: str, time_range: str, dimensions: list[str], filters: dict)": This tool is designed to generate or retrieve predefined standard r...
CORRECT
VALID_CALL
None
["{'name': 'find_instances', 'description': '$20', 'inputSchema': {'type': 'object', 'properties': {'sort_by': {'type': 'string', 'title': 'Sort By', 'default': 'Price'}, 'page_num': {'type': 'integer', 'title': 'Page Num', 'default': 0}, 'sort_order': {'type': 'string', 'title': 'Sort Order', 'default': 'Descending'},...
[ {"role": "system", "content": "You are an AI assistant capable of interacting with several tools to fulfill user requests. Carefully analyze the user's intent to select the most appropriate tool and parameters. Available tools: - `find_instances(entity_type: str, filters: dict)`: Use this tool to search for spec...
CORRECT
VALID_CALL
None
End of preview. Expand in Data Studio

Tool Selection Quality Benchmark

A benchmark for evaluating whether an LLM correctly judges the quality of a tool call / function call made by another model - i.e. given a user request, the tools available, and the model's resulting function call (or direct reply), did the model pick the right tool and fill it in correctly?

Each row is one turn to be judged: a message history ending in either a function call or a direct assistant response, paired with the set of tools that were available, and a ground-truth verdict on whether that call was correct and, if not, what specifically went wrong.

Dataset Structure

Column Type Description
tools_list string Stringified list of the tool/function definitions (name, description, JSON-schema parameters) available to the model for this turn.
messages_history string The conversation up to and including the model's response: the user's request and either a function_call (tool name + arguments) or a direct assistant reply.
label string Ground-truth verdict - one of VALID_CALL, TOOL_ERROR, PARAM_NAME_ERROR, PARAM_VALUE_ERROR (see taxonomy below).
binary_label string Collapsed verdict: CORRECT (VALID_CALL) or INCORRECT (any of the three error labels).
failure_reason string Short free-text reason for the failure (e.g. "incorrect tool selected", "hallucinated parameter name"), or "None" when label is VALID_CALL.

Example row

A user asks Cribl to fetch a pipeline's config; the model correctly calls cribl_getPipelineConfig with the right pipelineId/groupName arguments → label: VALID_CALL, binary_label: CORRECT, failure_reason: None.

Label Taxonomy

Verdicts follow a strict, ordered check - tool selection first, then parameter structure, then parameter values - and the first failing check determines the label:

  1. Tool Selection - does the chosen tool exist and match the user's intent? If not → TOOL_ERROR (e.g. wrong tool picked, or a tool call made when none was needed, or vice versa).
  2. Parameter Structure - are the required parameter names present, and are there no extraneous/hallucinated ones? If not → PARAM_NAME_ERROR.
  3. Parameter Values - are the parameter values correctly typed, formatted, and factually consistent with the request? If not → PARAM_VALUE_ERROR.

If none of these trigger - including the case where the user's request needed no tool call at all and the model correctly replied directly - the turn is VALID_CALL.

Dataset Statistics

  • 5,000 rows total.

label distribution:

Label Count
VALID_CALL 2,000
TOOL_ERROR 1,000
PARAM_NAME_ERROR 1,000
PARAM_VALUE_ERROR 1,000

binary_label distribution:

Label Count
CORRECT 2,000
INCORRECT 3,000

Usage

from datasets import load_dataset

ds = load_dataset("qualifire/tool-selection-quality-benchmark")["test"]
print(ds[0])

A common evaluation pattern is to score a judge model on each row (given tools_list + messages_history) and compare its predicted label - or the collapsed binary_label - against ground truth, both overall and broken down per label.

Considerations for Use

  • This benchmark is intended for evaluating tool-use/function-calling judge models - i.e. models whose job is to critique another model's tool call, not models that make tool calls themselves.
  • Labels reflect a specific, ordered evaluation rubric (tool → parameter names → parameter values); treat them as a strong baseline rather than an unimpeachable gold standard.
Downloads last month
20