Skip to main content
Glama

codebench_import

Import benchmark results from CSV or JSON into the codebugs tracker. Validates finite numeric metrics and rejects duplicate row/metric pairs.

Instructions

Import benchmark results from CSV or JSON.

CSV convention: first column is the row label, remaining columns are metric names with finite numeric values.

JSON convention: array of objects, first key is the row label, rest are metric keys with finite numeric values.

Each (row label, metric) pair may appear only once per import, and NaN/Infinity are refused: a non-finite measurement is not one.

Args:

  • benchmark: Benchmark name (e.g. "search-perf")

  • csv_data: CSV string (header + data rows). Provide csv_data OR json_data.

  • json_data: JSON array string. Provide csv_data OR json_data.

  • date: Run date (default: today, ISO format YYYY-MM-DD)

  • tags: Optional tags (e.g. ["nightly", "v2.1"])

  • meta: Optional metadata (e.g. {"git_sha": "abc123", "ci_url": "..."})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
metaNo
tagsNo
csv_dataNo
benchmarkYes
json_dataNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.2

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the behavioral burden. It discloses uniqueness constraints per row/metric pair, refusal of NaN/Infinity, default date behavior, and the either/or requirement for csv_data/json_data. It does not state whether imports append to or replace existing data, which is a relevant mutation behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The main behavior and input conventions are front-loaded before the parameter list, and every argument earns its place. It is slightly long, but the format specifications and constraints justify the length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is quite complete for a 6-parameter import tool, especially since an output schema exists and return values need not be explained. The notable gap is behavior when both csv_data and json_data are supplied, and whether duplicate row/metric pairs are rejected against pre-existing data or only within the import.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description compensates fully by explaining every parameter: benchmark with an example, csv_data/json_data with structural conventions, date default, tags example, and meta example. It also clarifies the mutual-exclusion constraint that the schema alone would not imply.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Import benchmark results from CSV or JSON'), immediately distinguishing this import tool from query/list/delete siblings. It also clearly states the supported data formats, making the tool's function unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly conveys it is for importing benchmark data and not for reading or mutating other entities, but it does not explicitly name an alternative tool or state when not to use it. The 'CSV or JSON' format guidance gives the agent a clear context for invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/faxik/codebugs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server