Skip to main content
Glama

search_native_criteria

Search platform-specific accessibility criteria for iOS VoiceOver and Android TalkBack to find implementation details for native mobile components.

Instructions

Search native accessibility criteria using keywords. Find platform-specific implementation details for iOS (VoiceOver) and Android (TalkBack).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch term or phrase (e.g., "voiceover", "talkback", "accessibility label")
max_resultsNoMaximum number of results to return (default: 10)

Implementation Reference

  • Primary handler function that executes the search_native_criteria tool logic by invoking contentLoader.search on native platform criteria.
    async function handleSearchNativeCriteria(args: any) {
      const maxResults = args?.max_results || 10;
      const results = await contentLoader.search('native', args.query, maxResults);
    
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(results, null, 2),
          },
        ],
      };
    }
  • Input schema, description, and tool definition used for registration and validation of search_native_criteria.
    {
      name: 'search_native_criteria',
      description: 'Search native accessibility criteria using keywords. Find platform-specific implementation details for iOS (VoiceOver) and Android (TalkBack).',
      inputSchema: {
        type: 'object',
        properties: {
          query: {
            type: 'string',
            description: 'Search term or phrase (e.g., "voiceover", "talkback", "accessibility label")',
          },
          max_results: {
            type: 'number',
            description: 'Maximum number of results to return (default: 10)',
            default: 10,
          },
        },
        required: ['query'],
      },
    },
  • Inline handler for search_native_criteria in the Netlify HTTP serverless function.
    case 'search_native_criteria': {
      const results = await contentLoader.search('native', args.query, args.max_results || 10);
      return { content: [{ type: 'text', text: JSON.stringify(results, null, 2) }] };
    }
  • src/index.ts:60-61 (registration)
    Switch case registration that routes tool calls to the search_native_criteria handler in the MCP stdio server.
    case 'search_native_criteria':
      return await handleSearchNativeCriteria(args);

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/joe-watkins/magentaa11y-mcp-remote'

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