Skip to main content
Glama

get_problem

Retrieve detailed information about a specific LeetCode problem, including its description, examples, constraints, and related data, using the problem's URL slug as the input.

Instructions

Retrieves details about a specific LeetCode problem, including its description, examples, constraints, and related information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleSlugYesThe URL slug/identifier of the problem (e.g., 'two-sum', 'add-two-numbers') as it appears in the LeetCode URL

Other Tools

Related Tools

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/jinzcdev/leetcode-mcp-server'

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