Skip to main content
Glama
devrev

DevRev MCP Server

Official
by devrev

get_part

Retrieve detailed information about a specific enhancement in DevRev by providing its unique ID using the MCP server tool.

Instructions

Get information about a part (enhancement) in DevRev using its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe DevRev ID of the part

Implementation Reference

  • Handler function that implements the get_part tool logic by making an API request to DevRev's parts.get endpoint with the provided part ID and returning the part information.
    elif name == "get_part": if not arguments: raise ValueError("Missing arguments") id = arguments.get("id") if not id: raise ValueError("Missing id parameter") response = make_devrev_request( "parts.get", { "id": id } ) if response.status_code != 200: error_text = response.text return [ types.TextContent( type="text", text=f"Get part failed with status {response.status_code}: {error_text}" ) ] return [ types.TextContent( type="text", text=f"Part information for '{id}':\n{response.json()}" ) ]
  • Registration of the 'get_part' tool in the list_tools handler, including its name, description, and input schema requiring a part ID.
    types.Tool( name="get_part", description="Get information about a part (enhancement) in DevRev using its ID", inputSchema={ "type": "object", "properties": {"id": {"type": "string", "description": "The DevRev ID of the part"}}, "required": ["id"], }, ),
  • JSON schema for the get_part tool input, defining the required 'id' parameter.
    "type": "object", "properties": {"id": {"type": "string", "description": "The DevRev ID of the part"}}, "required": ["id"], },

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

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