Skip to main content
Glama

List the communities in one state

list_ethnicities_by_state
Read-only

Lists the communities filed under one state or city, by name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "state": "<state>"
    },
    "name": "list_ethnicities_by_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesA state name from list_ethnicity_states, e.g. "Karnataka".

Output Schema

NameRequiredDescriptionDefault
stateYes
ethnicitiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/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 only that results are ordered "by name"; it does not mention pagination, result limits, or whether an unknown state yields an empty list or an error. With annotations present, this modest addition is acceptable but thin.

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

Conciseness4/5

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

One short sentence with no filler; the resource and scope are front-loaded. The only inefficiency is the ambiguous "or city" clause, which costs a little precision.

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

Completeness3/5

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

For a one-parameter read-only list with an output schema and clear annotations, most of what an agent needs is present elsewhere. The remaining gap is the state-vs-city ambiguity and the absence of any statement about what happens with an invalid or unknown state value.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents the single state parameter, including the pointer to list_ethnicity_states. The description reinforces the scope (one state) but introduces mild noise by saying "or city", which does not map to any parameter.

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

Purpose4/5

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

States a specific verb and resource ("Lists the communities") scoped to a single state, which distinguishes it from the sibling list_ethnicity_states that enumerates the states themselves. The wording drifts from the tool name ("ethnicities") to "communities", but the intent remains readable.

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

Usage Guidelines3/5

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

The description implies this is a drill-down after picking a state, but never says so explicitly; the actual routing hint ("A state name from list_ethnicity_states") lives only in the schema. It also mentions "or city" while no city parameter exists, leaving the agent to guess whether an alternative tool is needed.

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.

Resources