Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODABENCH_BASE_URLNoOverride for testshttps://www.codabench.org
CODABENCH_API_TOKENYesDRF token, sent as Authorization: Token <token>
CODABENCH_ALLOW_WRITE_RAWNoSet to 1 to allow non-GET methods through codabench_request0
CODABENCH_MAX_DOWNLOAD_BYTESNoCap for download_dataset5368709120

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_competitionsC

Search public Codabench competitions. Auto-paginates up to max_pages.

get_competitionB

Get full details of a single Codabench competition.

list_competition_phasesC

List all phases of a Codabench competition.

get_phaseC

Get full details of a single phase.

get_competition_rulesA

Get a competition's rules, terms, evaluation criteria, and any other descriptive pages concatenated into a single markdown string.

list_competition_tasksC

List all tasks attached to a Codabench competition.

get_taskB

Get full details of a single task, including dataset keys.

get_leaderboardC

Get the leaderboard for a phase.

get_my_profileA

Get the authenticated user's Codabench profile.

download_datasetA

Download a Codabench dataset/bundle to a local absolute path. Streams directly to disk and returns the SHA-256. Refuses to overwrite unless overwrite=True.

list_my_submissionsB

List the authenticated user's submissions, newest first.

get_submissionC

Get full details of a submission including scores.

get_submission_logsC

Get stdout/stderr/ingestion logs for a submission.

submit_to_phaseB

Submit a zipped model bundle to a competition phase. Performs Codabench's 3-step upload: POST /api/data/, PUT to signed URL, PUT /api/data/upload_completed/, POST /api/submissions/.

poll_submissionA

Poll a submission until it reaches a terminal state (finished/failed/cancelled) or timeout_seconds elapses. Returns the final submission record, or {status: 'still_running'} on timeout — the agent can choose to poll again.

codabench_requestA

Generic Codabench REST escape hatch. Use when no curated tool fits. Path must start with '/api/'. By default only GET/HEAD/OPTIONS are allowed; start the server with CODABENCH_ALLOW_WRITE_RAW=1 to permit POST/PUT/PATCH/DELETE.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/harshitAgr/codabench-mcp'

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