Skip to main content
Glama

developer

Retrieve all applications published by a specific developer from app stores. Use this tool to find apps by developer ID 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

  • Main handler function that implements the 'developer' tool logic: extracts parameters, builds URL, fetches data, parses apps, and returns formatted JSON response.
    /** * Developer tool - Get apps by developer */ 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, }; } }
  • Tool registration in ListToolsRequestSchema, including the name, description, and input schema definition for the 'developer' tool.
    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'], }, },
  • Helper function to construct the iTunes API lookup URL for retrieving apps by developer ID.
    * Builds a developer apps URL * @param {Object} params - Developer parameters * @returns {string} */ 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()}`; }
  • Helper function to parse the raw JSON response from iTunes API into an array of normalized app objects, used in the developer tool.
    * Parses multiple apps from search/developer results * @param {Object} data - Raw iTunes API response * @returns {Array<Object>} */ export function parseApps(data) { if (!data || !data.results || !Array.isArray(data.results)) { return []; } return data.results .filter(app => app.kind === 'software' || app.wrapperType === 'software') .map(app => { // Reconstruct as if it came from lookup const lookupData = { results: [app] }; return parseApp(lookupData); }) .filter(app => app !== null); }

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