Skip to main content
Glama

developer

Retrieve all applications published by a specific developer from app stores. Use this tool to analyze a developer's portfolio across iOS and Android platforms.

Instructions

Get all apps by a developer

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
devIdYesiTunes artistId of the developer (e.g., 284882218 for Facebook)
countryNoTwo-letter country code (default: us)us
langNoLanguage code (default: en)en

Implementation Reference

  • The handler function that implements the core logic of the 'developer' tool: validates input, builds URL, fetches data from App Store, parses apps, and formats response.
    async function handleDeveloper(args) { try { const { devId, country = 'us', lang = 'en' } = args; if (!devId) { throw new Error('devId is required'); } const url = buildDeveloperUrl({ devId, country, lang }); const data = await fetchJSON(url); const apps = parseApps(data); return { content: [ { type: 'text', text: JSON.stringify({ developerId: devId, apps, count: apps.length, }, null, 2), }, ], }; } catch (error) { return { content: [ { type: 'text', text: JSON.stringify({ error: error.message }, null, 2), }, ], isError: true, }; } }
  • The input schema definition for the 'developer' tool, registered in ListToolsRequestSchema handler.
    name: 'developer', description: 'Get all apps by a developer', inputSchema: { type: 'object', properties: { devId: { type: 'number', description: 'iTunes artistId of the developer (e.g., 284882218 for Facebook)', }, country: { type: 'string', description: 'Two-letter country code (default: us)', default: 'us', }, lang: { type: 'string', description: 'Language code (default: en)', default: 'en', }, }, required: ['devId'], }, },
  • Registration of the 'developer' tool handler in the switch statement of CallToolRequestSchema handler.
    case 'similar': return await handleSimilar(args);
  • Helper function to construct the iTunes lookup URL for developer apps, used by the 'developer' handler.
    export function buildDeveloperUrl(params) { const { devId, country = 'us', lang = 'en' } = params; const queryParams = new URLSearchParams({ id: devId.toString(), country: country, lang: lang, entity: 'software', }); return `${ITUNES_BASE}/lookup?${queryParams.toString()}`; }

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/MiguelAlvRed/mobile-store-scraper-mcp'

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