Skip to main content
Glama

Count species

count_species
Read-only

How many species of India: documented, with an open record, threatened (IUCN CR, EN, VU), recorded in the last 10 years, endemic, per IUCN category and per kingdom (by_kingdom: animals, plants, fungi, other). For a state or district, threatened and endemic count only species with a dated record there in the last 10 years and no not-native flag (quote these); threatened_all_time and endemic_all_time count all, undated_only the species with no dated record there, not_native the species Kew does not give as native there or GRIIS India lists as introduced, and not_wild those the record keepers mark as planted, kept or introduced. All filters are optional and combine: "how many butterflies in India", "threatened birds in Kerala", "endemic frogs of the Western Ghats", "plants of Shivamogga" (kingdom: plants).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "count_species"
  }
}

Input Schema

NameRequiredDescriptionDefault
iucnNoIUCN Red List categories: CR, EN, VU, NT, LC, DD, NE (not assessed), or "threatened" (CR, EN, VU).
groupNoA group of the list, or a word of it: "Birds", "butterflies", "mammals" (all mammal groups), "orchids"; "animals" and "plants" mean the kingdom. See yellide://groups.
orderNoAn order (Latin): "Squamata", "Anura" (frogs), "Lepidoptera".
stateNoA state or union territory of India: "Karnataka". See yellide://states.
familyNoA family (Latin): "Elapidae", "Orchidaceae".
regionNoA WII biogeographic zone ("Western Ghats", "Himalaya", "North-East", "Islands"), a province ("Western Ghats: Mountains") or a province code ("5B"). See yellide://regions.
countedNoWith a state or a district: true gives only the species that count_species' headline threatened and endemic counts count there (a dated record there in the last 10 years and no not-native flag); with iucn: ["threatened"] it lists exactly the headline threatened species. false: the others.
endemicNotrue: only species a source marks as endemic to India; false: only species not marked. Some groups have no marks yet (the answer names them).
kingdomNoanimals, plants (with mosses and liverworts), fungi (with lichens) or other (algae, diatoms and the rest). See yellide://groups.
districtNoA district (LGD): its name, "Wayanad", or its LGD code; or a list of districts for an area that is made of districts (the Mahanadi delta: ["Cuttack", "Jagatsinghapur", "Kendrapara", "Puri"]), where each species counts once. Give the state too when two states have the name. See yellide://districts.
suborderNoFor order Squamata: "snakes" (Serpentes) or "lizards" (Sauria).
open_recordNotrue: species with an open record from India; false: species known only from checklists and papers.
recorded_sinceNoSpecies with an open record placed in India in this year or later; with a state, placed in the state; with a district, a GBIF record placed in the district.
described_sinceNoSpecies described in this year or later.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / counted
      Added value: +{
      +  "description": "With a state or a district: true gives only the species that count_species' headline threatened and endemic counts count there (a dated record there in the last 10 years and no not-native flag); with iucn: [\"threatened\"] it lists exactly the headline threatened species. false: the others.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / recorded_since / description
      Previous value: -"Species with an open record placed in a state in this year or later; with a district, a GBIF record placed in the district."New value: +"Species with an open record placed in India in this year or later; with a state, placed in the state; with a district, a GBIF record placed in the district."
  3. Changed2 schema fields changed
    • changedInput schema / properties / group / description
      Previous value: -"A group of the list, or a word of it: \"Birds\", \"butterflies\", \"mammals\" (all mammal groups), \"orchids\". See yellide://groups."New value: +"A group of the list, or a word of it: \"Birds\", \"butterflies\", \"mammals\" (all mammal groups), \"orchids\"; \"animals\" and \"plants\" mean the kingdom. See yellide://groups."
    • addedInput schema / properties / kingdom
      Added value: +{
      +  "description": "animals, plants (with mosses and liverworts), fungi (with lichens) or other (algae, diatoms and the rest). See yellide://groups.",
      +  "enum": [
      +    "animals",
      +    "plants",
      +    "fungi",
      +    "other"
      +  ],
      +  "type": "string"
      +}
  4. Changed3 schema fields changed
    • addedInput schema / properties / district / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 50,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / district / description
      Previous value: -"A district (LGD): its name, \"Wayanad\", or its LGD code. Give the state too when two states have the name. See yellide://districts."New value: +"A district (LGD): its name, \"Wayanad\", or its LGD code; or a list of districts for an area that is made of districts (the Mahanadi delta: [\"Cuttack\", \"Jagatsinghapur\", \"Kendrapara\", \"Puri\"]), where each species counts once. Give the state too when two states have the name. See yellide://districts."
    • removedInput schema / properties / district / type
      Removed value: -"string"
  5. Changed2 schema fields changed
    • addedInput schema / properties / district
      Added value: +{
      +  "description": "A district (LGD): its name, \"Wayanad\", or its LGD code. Give the state too when two states have the name. See yellide://districts.",
      +  "type": "string"
      +}
    • changedInput schema / properties / recorded_since / description
      Previous value: -"Species with an open record placed in a state in this year or later."New value: +"Species with an open record placed in a state in this year or later; with a district, a GBIF record placed in the district."
  6. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds genuinely non-obvious data semantics instead — that state/district threatened and endemic counts require a dated record in the last 10 years with no not-native flag, and that some groups lack endemic marks. It stops short of describing the response shape or pagination, but for a read-only count tool this is well above baseline.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded effectively, but the body is a single dense run-on paragraph whose clause chain ("...; threatened_all_time and endemic_all_time count all, undated_only the species with no dated record there, not_native the species Kew does not give as native...") is hard to parse. The example queries are valuable; the middle section would be clearer as a bulleted list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter, fully optional filter tool with no output schema, the description covers the counting semantics, the district-list behavior (each species counted once), and the state-qualification requirement for ambiguous district names. The gaps are the undocumented modifier options and no indication of what the count response contains, but overall it is sufficient to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already carries most parameter meaning; the description mainly adds the interaction rule for `counted` and `kingdom` grouping. However, it references threatened_all_time, endemic_all_time, undated_only, not_native and not_wild as if they were available options, and none of these appear in the input schema — an agent reading the description may look for controls it cannot set, which erodes rather than adds parameter clarity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"How many species of India" plus a precise enumeration of the countable dimensions (documented, open record, threatened, endemic, per IUCN category, per kingdom) states the verb, resource and scope unambiguously. Siblings (find_species, get_species, list_species) are retrieval tools, and the counting framing here makes the distinction obvious.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives concrete trigger phrasings ("threatened birds in Kerala", "endemic frogs of the Western Ghats") and states that all filters are optional and combine, which is strong when-to-use guidance. It does not explicitly say when to prefer list_species or find_species over counting, so the alternative routing is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.