Skip to main content
Glama

datasets_github_users_facets

Read-only

Returns terms aggregation counts over the GitHub users dataset, honoring the same filters as search. Use alongside the related search tool to inspect filter counts under the same query filters.

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": {
      "facet": "<facet>"
    },
    "name": "datasets_github_users_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over login, name, company, bio and location, max 256 characters.
latNoOptional latitude for radius filtering or distance sort, from -90 through 90; supply together with lon.
lonNoOptional longitude for radius filtering or distance sort, from -180 through 180; supply together with lat.
cityNoOptional exact geocoded city filter, max 128 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort order. Allowed values: relevance, rank_score_desc, followers_desc, account_age_desc, account_age_asc, distance_asc. Defaults to relevance with q, otherwise rank_score_desc.
facetYesRequired facet to aggregate. Allowed values: influence_tier, type, country, country_code, state, city, domains, company, reachable, has_email, has_twitter, has_blog, active_90d, hireable, is_org, is_bot, is_suspected_automation.
loginNoOptional exact login filter, max 128 characters.
stateNoOptional exact geocoded state/region filter, max 128 characters.
domainNoOptional interest-domain tag filter (e.g. ml-ai, web, devops), max 128 characters.
is_botNoOptional bot filter (the crawl skips bots, so this is normally false).
is_orgNoOptional organization filter (the crawl indexes individuals, so this is normally false).
companyNoOptional exact normalized-company filter (lowercased, @ stripped), max 128 characters.
countryNoOptional exact geocoded country filter, max 128 characters.
has_blogNoOptional filter for a public blog/website URL.
hireableNoOptional filter for the GitHub 'available for hire' flag.
radius_mNoOptional radius in meters, from 1 through 50000; requires lat and lon when supplied.
has_emailNoOptional filter for a public email on the profile.
min_reposNoOptional minimum public repository count, 0 or greater.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
reachableNoOptional filter for any public contact channel (email, Twitter, blog or social account).
active_90dNoOptional filter for activity within the last 90 days.
has_twitterNoOptional filter for a public Twitter/X handle.
country_codeNoOptional exact ISO country-code filter, max 128 characters.
max_followersNoOptional maximum follower count, 0 or greater.
min_followersNoOptional minimum follower count, 0 or greater.
influence_tierNoOptional follower-based tier filter. Allowed values: nano, micro, mid, macro, mega.
min_rank_scoreNoOptional minimum composite rank score, 0 or greater.
max_account_age_yearsNoOptional maximum account age in years, 0 or greater.
min_account_age_yearsNoOptional minimum account age in years, 0 or greater.
is_suspected_automationNoOptional filter for suspected automation (commit-farm / mass-repo bots). Omitted by default these records are hidden; pass true to isolate them or false to force-include the same clean view.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the useful fact that the tool honors the exact same filters as search, but does not explain whether counts are exact or approximate, how page/page_size interact with aggregation output, or why idempotentHint is false for a read query.

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?

Two sentences, front-loaded with the purpose and followed by the usage note. No filler or repetition. It could be tightened slightly by naming the search sibling instead of saying 'the related search tool.'

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?

An output schema exists, so return-value explanation is unnecessary, and the schema carries the heavy parameter burden. Still, for a 31-parameter aggregation tool, the description omits one behavior an agent would want: that aggregation counts are not paginated the way search results are.

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 coverage is 100% and each of the 31 parameters is documented in the schema, including the allowed facet values. The description's only added meaning is filter parity with the search tool, which is genuinely useful but does not explain facet-specific semantics such as which filters meaningfully affect which facet.

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+resource: 'Returns terms aggregation counts over the GitHub users dataset.' This clearly separates it from item/nearby siblings. It refers to 'the related search tool' rather than naming datasets_github_users_search, so differentiation is implied rather than explicit.

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?

Gives one concrete use case: use alongside search to inspect filter counts under the same query filters. However, it doesn't name the sibling explicitly, doesn't say when facets are unnecessary, and gives no guidance on choosing the required facet value or handling paging parameters.

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.