# Descope Cursor API Evaluation

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

This is the agent-readable Devtool Arena evaluation page for Descope on Cursor API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 86 |
| Grade | B |
| Eval score | 87 |
| Discovery score | 86 |
| Cost | $0.17 |
| Runtime | 58s |
| Tool calls | 25 |
| Errors | 0 |
| Tokens used | 465618 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/descope/descope-js |
| llms.txt | https://descope.com/llms.txt |
| MCP server | https://github.com/descope/mcp-express |
| Typed SDK | https://github.com/descope/node-sdk |
| OpenAPI | https://docs.descope.com/examples/Descope_API.yaml |
| Agent skills | Not found |
| CLI | https://github.com/descope/descopecli |

## Evaluation Prompt

````text

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

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

1. Install the official Descope 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 Descope 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 | Yes | 0 | 1 | $0.17 ($0.10–0.20, great) |
| Time | Yes | 0 | 1 | 58s (<60s, excellent) |
| Efficiency | Yes | 0 | 0 | 25 tool calls (≤25, below average) |
| Found Docs | Yes | 0 | — | Touched docs at docs.descope.com: yes (5 matching tool calls) |
| Zero Errors | Yes | 0 | — | No errors in tool outputs |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 2 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 28 |
| Tool call traces | 25 |
| Generated files | 2 |
| Exit code | 0 |
| Completed at | 2026-10-20T05:13:56.09671+00:00 |

### Generated Files

- /home/daytona/app/requirements.txt
- /home/daytona/app/invite_manager.py

## Related Pages

- [Cursor API leaderboard](/cursor/api)
- [Compare Cursor API companies](/cursor/api/compare)
- [Agent Landscape](/discoverability)

Canonical URL: https://devtoolarena.com/cursor/api/descope
