Skip to main content
Glama

search_by_scientific_name

Find organisms in the ITIS database using scientific names like 'Homo sapiens' or 'Quercus' to retrieve taxonomic information and search results.

Instructions

Search for organisms by their scientific name in ITIS database.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesScientific name to search for (e.g., "Homo sapiens", "Quercus")
rowsNoNumber of results to return (default: 10)
startNoStarting index for pagination (default: 0)

Implementation Reference

  • MCP tool handler that executes 'search_by_scientific_name' by extracting input parameters, calling the ITISClient method, and returning a formatted JSON response with search results.
    case 'search_by_scientific_name': { const { name, rows, start } = args as any; const result = await itisClient.searchByScientificName(name, { rows, start }); return { content: [ { type: 'text', text: JSON.stringify({ searchTerm: name, totalResults: result.response.numFound, start: result.response.start, results: result.response.docs, }, null, 2), }, ], }; }
  • Tool definition including name, description, and input schema for validation.
    { name: 'search_by_scientific_name', description: 'Search for organisms by their scientific name in ITIS database.', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Scientific name to search for (e.g., "Homo sapiens", "Quercus")', }, rows: { type: 'number', description: 'Number of results to return (default: 10)', }, start: { type: 'number', description: 'Starting index for pagination (default: 0)', }, }, required: ['name'], }, },
  • src/index.ts:22-22 (registration)
    Registers the tool handlers on the MCP server by calling setupToolHandlers.
    setupToolHandlers(server, itisClient);
  • Core helper method in ITISClient that translates the scientific name search into a SOLR query executed against the ITIS API.
    async searchByScientificName(name: string, options: Partial<ITISSearchOptions> = {}): Promise<ITISResponse> { return this.search({ ...options, query: `nameWInd:"${name}"`, }); }

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

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