# Clerk Muse API Evaluation

**Category:** Auth
**Score:** 77 (B)

This is the agent-readable Devtool Arena evaluation page for Clerk on Muse API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 77 |
| Grade | B |
| Eval score | 68 |
| Discovery score | 100 |
| Cost | $0.41 |
| Runtime | 2m 17s |
| Tool calls | 23 |
| Errors | 5 |
| Tokens used | 1415613 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/clerk/clerk-docs |
| llms.txt | https://clerk.com/llms-full.txt |
| MCP server | https://clerk.com/docs/guides/ai/mcp/clerk-mcp-server.md |
| Typed SDK | https://github.com/clerk/javascript |
| OpenAPI | https://clerk.com/docs/reference/spec/bapi/latest.json |
| Agent skills | https://clerk.com/.well-known/agent-skills/index.json |
| CLI | https://clerk.com/docs/cli.md |

## Evaluation Prompt

````text

# Task
Using https://clerk.com/docs, complete the following task:

Using the Clerk Python SDK, build me a script that manages user invitations via the API:

1. Install the official Clerk Python SDK (pip install)
2. Use the SDK to:
   a. Send an invitation to "leaderboard-*****@example.com"
   b. List all pending invitations and print them as JSON
   c. Revoke the invitation you just created
3. Print the result of each step clearly labeled (e.g., "=== INVITED ===", "=== PENDING ===", "=== REVOKED ===")

You MUST use the official Clerk Python SDK — do not construct OAuth URLs or make raw HTTP/REST calls. 

## Execution
After creating the script, run it to verify it works:
```bash
cd /home/daytona/app && python <your_script>.py
```

The script should print output to stdout. If there are errors, debug and fix them until it runs successfully.

````

## Grader Results

| Check | Passed | Weight | Score | Details |
|-------|--------|--------|-------|---------|
| Cost | No | 0 | 0 | $0.41 ($0.40–0.70, expensive) |
| Time | Yes | 0 | 0 | 137s (2–3min, good) |
| Efficiency | Yes | 0 | 0 | 23 tool calls (≤25, below average) |
| Found Docs | Yes | 0 | — | Touched docs at clerk.com: yes (7 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 5 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 1 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 24 |
| Tool call traces | 23 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-15T05:07:19.523364+00:00 |

### Generated Files

- /home/daytona/app/invitation_manager.py

## Related Pages

- [Muse API leaderboard](/leaderboard/muse/api)
- [Compare Muse API companies](/leaderboard/muse/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/muse/api/clerk
