# Descope Grok API Evaluation

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

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 75 |
| Grade | B |
| Eval score | 71 |
| Discovery score | 86 |
| Cost | $0.94 |
| Runtime | 2m 40s |
| Tool calls | 26 |
| Errors | 0 |
| Tokens used | 763416 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/descope/descope-js |
| llms.txt | https://descope.com/llms.txt |
| MCP server | https://docs.descope.com/mcp |
| Typed SDK | https://registry.npmjs.org/@descope/node-sdk/latest |
| 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://[REDACTED:TENANT].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/[REDACTED:TENANT] && 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.94 ($0.70–1.00, very expensive) |
| Time | Yes | 0 | 0 | 160s (2–3min, good) |
| Efficiency | No | 0 | 0 | 26 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched [REDACTED:TENANT] at [REDACTED:TENANT].descope.com: yes (8 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: 1 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 27 |
| Tool call traces | 26 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-10-19T08:34:26.173208+00:00 |

### Generated Files

- /home/daytona/app/invite_manager.py

## Related Pages

- [Grok API leaderboard](/grok/api)
- [Compare Grok API companies](/grok/api/compare)
- [Agent Landscape](/discoverability)

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