Skip to main content
Glama

Query funding totals

query_funding
Read-only

Answer how much funding was raised, how many rounds closed, or how many companies were founded, for a country, sector, series, and year. This is the StartupHub /analysis chart as data. Use it for questions like 'how much funding did Canadian startups raise in 2026'. dataset=rounds (default) is announced round capital in that year. dataset=startups is companies founded that year, and the dollar total is what those companies have raised to date, not capital raised during the year. dataset=funds is fund closes. dataset=investors counts firms founded, with no dollar total. country is a full English name: Canada, United States, United Kingdom. group=sector or group=country returns a breakdown. Free, no API key. Returns the count, total USD, a chart URL, and the periods or categories behind the total. Needs a StartupHub.ai API key with credit (pay as you go).

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": "query_funding"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast year, inclusive. Ignored when year is set. Default the current year. Clamped between from and the current year.
fromNoFirst year, inclusive. Ignored when year is set. Default depends on dataset: rounds 2021, funds 2015, startups 2010, investors 1995. Clamped to the dataset range.
yearNoCalendar year, an integer from 1970 to 2100. Sets both from and to. Example: 2026.
groupNoHow to break the total down. Default time, which is the single undivided total. Depends on dataset: funds and startups have no series; investors allows only time, sector and country. An invalid value becomes time. group=sector counts a company in every sector it carries, so that total is higher.
splitNoOptional second breakdown: one of the dataset dimensions, not equal to group. Anything else means none. The total still excludes double-counting.
bucketNoTime bucket. A single year defaults to year. A range defaults to quarter.
sectorNoSector name, for example Artificial Intelligence or Fintech. Comma-separated for more than one, up to 8.
seriesNoRound stage, dataset=rounds only. Exact, case-sensitive values: Pre-Seed, Seed, Series A, Series B, Series C, Series D, Series E, Series F+, Growth, IPO, Debt, Grant, Strategic, Unlabeled. Comma-separated for more than one. Any other value is dropped.
countryNoFull English country name, or a common alias. Examples: Canada, United States, USA, United Kingdom, UK. Comma-separated for more than one, up to 8.
datasetNorounds = capital announced in the year (default). startups = companies founded that year. funds = funds closed. investors = firms founded.
sectorsNoAlias of sector.
countriesNoAlias of country.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / countries
      Added value: +{
      +  "description": "Alias of country.",
      +  "type": "string"
      +}
    • changedInput schema / properties / country / description
      Previous value: -"Full English country name, or a common alias. Examples: Canada, United States, USA, United Kingdom, UK."New value: +"Full English country name, or a common alias. Examples: Canada, United States, USA, United Kingdom, UK. Comma-separated for more than one, up to 8."
    • changedInput schema / properties / from / description
      Previous value: -"First year, inclusive. Ignored when year is set."New value: +"First year, inclusive. Ignored when year is set. Default depends on dataset: rounds 2021, funds 2015, startups 2010, investors 1995. Clamped to the dataset range."
    • changedInput schema / properties / group / description
      Previous value: -"How to break the total down. Default time, which is the single undivided total. group=sector counts a company in every sector it carries, so that total is higher."New value: +"How to break the total down. Default time, which is the single undivided total. Depends on dataset: funds and startups have no series; investors allows only time, sector and country. An invalid value becomes time. group=sector counts a company in every sector it carries, so that total is higher."
    • changedInput schema / properties / sector / description
      Previous value: -"Sector name, for example Artificial Intelligence or Fintech. Comma-separated for more than one."New value: +"Sector name, for example Artificial Intelligence or Fintech. Comma-separated for more than one, up to 8."
    • addedInput schema / properties / sectors
      Added value: +{
      +  "description": "Alias of sector.",
      +  "type": "string"
      +}
    • changedInput schema / properties / series / description
      Previous value: -"Round stage: Pre-Seed, Seed, Series A, Series B, Series C, Series D, Series E, Series F+, Growth, IPO, Debt, Grant, Strategic. Comma-separated for more than one."New value: +"Round stage, dataset=rounds only. Exact, case-sensitive values: Pre-Seed, Seed, Series A, Series B, Series C, Series D, Series E, Series F+, Growth, IPO, Debt, Grant, Strategic, Unlabeled. Comma-separated for more than one. Any other value is dropped."
    • changedInput schema / properties / split / description
      Previous value: -"Optional second breakdown. The total still excludes double-counting."New value: +"Optional second breakdown: one of the dataset dimensions, not equal to group. Anything else means none. The total still excludes double-counting."
    • changedInput schema / properties / to / description
      Previous value: -"Last year, inclusive. Ignored when year is set."New value: +"Last year, inclusive. Ignored when year is set. Default the current year. Clamped between from and the current year."
    • changedInput schema / properties / year / description
      Previous value: -"Calendar year. Sets both from and to. Example: 2026."New value: +"Calendar year, an integer from 1970 to 2100. Sets both from and to. Example: 2026."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With readOnlyHint/destructiveHint already covering safety, the description adds substantial behavioral context the annotations cannot: return payload contents (count, total USD, chart URL, underlying periods/categories), the caveat that dataset=startups dollars are raised-to-date rather than in-year, and that group=sector double-counts. The one flaw is an internal inconsistency about access cost, saying both "Free, no API key" and "Needs a StartupHub.ai API key with credit (pay as you go)", which leaves the auth requirement ambiguous.

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?

Front-loads the capability and example, then walks dataset/group behavior in a compact sequence where nearly every sentence carries operational information. It is dense but long, and the adjacent "Free, no API key" / "needs an API key with credit" sentences undercut each other and should have been resolved or dropped.

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 12-parameter, zero-required aggregation tool with no output schema, the description covers dataset interpretation, breakdown semantics, defaults, and return shape, which is close to what an agent needs. The remaining gap is the contradictory access/cost statement and no explicit guidance on when a sibling tool is the better choice.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline is 3, but the description genuinely adds meaning beyond it: dataset semantics (startups' dollar total means raised-to-date, investors has no dollar total), group=sector double-counting effects, country needing a full English name, and split excluding double-counting. These are interpretive rules an agent could not infer from the enum values alone.

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?

Opens with a specific verb-plus-resource framing ("Answer how much funding was raised, how many rounds closed, or how many companies were founded") and anchors it to a known artifact ("the StartupHub /analysis chart as data"). It is clearly distinguishable from siblings like get_company_funding or get_startup_funding_history, which operate on single companies.

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?

Provides an explicit example question and spells out which dataset value answers which kind of question, which is strong when-to-use guidance for the internal alternatives. It stops short of naming a sibling tool it supersedes or excludes (e.g., versus get_company_funding for per-company figures), so the inter-tool routing is implied rather than stated.

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