get_taxonomic_forms
Retrieve subspecies and taxonomic forms for bird species using eBird's taxonomy data to support detailed biological research and identification.
Instructions
Get subspecies/forms for a species.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| species_code | Yes | The species code (e.g., 'cangoo' for Canada Goose) |
Implementation Reference
- src/index.ts:486-489 (handler)Handler that calls the eBird API endpoint /ref/taxon/forms/{species_code} and formats the response as text content.async (args) => { const result = await makeRequest(`/ref/taxon/forms/${args.species_code}`); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; }
- src/index.ts:483-485 (schema)Zod input schema requiring a species_code string parameter.{ species_code: z.string().describe("The species code (e.g., 'cangoo' for Canada Goose)"), },
- src/index.ts:480-490 (registration)Registration of the get_taxonomic_forms tool using McpServer.tool() with description, schema, and handler.server.tool( "get_taxonomic_forms", "Get subspecies/forms for a species.", { species_code: z.string().describe("The species code (e.g., 'cangoo' for Canada Goose)"), }, async (args) => { const result = await makeRequest(`/ref/taxon/forms/${args.species_code}`); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } );