Skip to main content
Glama

Ask a source for numbers

numbers
Read-only

How a number is doing (sign-ups, current users, visits, sales, a funnel, open tasks) over some days, weeks or months, as a reading: numbers from one of the project's sources, counted in what this person can open: a measure over some days, split by day, week, month or a field, with where the numbers come from and when they were fetched or counted; for a table or numbers a product sends, the day of the newest row or the time of the newest number, how often new ones should come, who keeps it and whether it has gone quiet. source: "this project" (counted now from what this person can open: its own open tasks, tasks added, done and past due, open and closed notes, and changes, split by person or folder; and expectations, how the Expect lines whose date fell in the window came out, where by "mine" gives only this person's own), a .source.md path, or a GitHub folder linked to the project (like app/), which offers releases, merged pull requests and commits.

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": {
      "source": "<source>",
      "measure": "<measure>"
    },
    "name": "numbers"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNoday, week, month, or a field the source names.
sinceNoA date (2026-10-01), "28 days", "this month" or "this year". Default 28 days.
sourceYesThe source: this project, a .source.md path, or a linked folder like app/.
compareNo"the period before", "last year" or "target 500".
measureYesA measure the source names, like sign-ups.
projectNoThe project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project.

Output Schema

NameRequiredDescriptionDefault
byYes
okYes
textYes
sinceYes
untilYes
whereYes
funnelNo
readingYes
measuresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • changedInput schema / properties / measure / description
      Previous value: -"A measure the source names, like sign-ups. Not needed when widget is given."New value: +"A measure the source names, like sign-ups."
    • changedInput schema / properties / since / description
      Previous value: -"A date (2026-10-01), \"28 days\", \"this month\" or \"this year\". Default: the widget's own Since line when there is one, else 28 days."New value: +"A date (2026-10-01), \"28 days\", \"this month\" or \"this year\". Default 28 days."
    • changedInput schema / properties / source / description
      Previous value: -"The source: this project, a .source.md path, or a linked folder like app/. Not needed when widget is given."New value: +"The source: this project, a .source.md path, or a linked folder like app/."
    • removedInput schema / properties / widget
      Removed value: -{
      -  "description": "A widget's path, ending .widget.md, or its § address. The answer uses that widget's own lines, so source and measure are not needed.",
      -  "maxLength": 1024,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / required
      Added value: +[
      +  "source",
      +  "measure"
      +]
    • removedOutput schema / properties / address
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / as_of
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / shape
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / title
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / url
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / view
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": {},
      -      "properties": {
      -        "label": {
      -          "type": "string"
      -        },
      -        "shape": {
      -          "type": "string"
      -        },
      -        "v": {
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "v",
      -        "shape",
      -        "label"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / properties / widget
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "ok",
      -  "reading",
      -  "text",
      -  "since",
      -  "until",
      -  "by",
      -  "measures",
      -  "where",
      -  "widget"
      -]New value: +[
      +  "ok",
      +  "reading",
      +  "text",
      +  "since",
      +  "until",
      +  "by",
      +  "measures",
      +  "where"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, non-destructive, closed-world operation. The description adds useful behavioral context: access is scoped to what the person can open, results include freshness metadata such as when numbers were fetched or counted, and sources can reveal whether data has gone quiet.

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

Conciseness2/5

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

The description is a single long, run-on sentence with nested colons and semicolons that makes it difficult to parse. It carries useful details but is not front-loaded or cleanly structured, so it fails on conciseness and readability.

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?

Given the read-only annotations, full schema coverage, and existing output schema, the description is complete enough for an agent to understand the tool's scope and major source options. It does not explain every parameter, such as compare or project, but those are covered by the schema.

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 description coverage is 100%, so the schema already documents all six parameters. The description still adds meaningful semantics for the source options and for splitting measures by day, week, month, or field, which goes beyond the schema's brief source description.

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?

The description states that this tool asks a source for numeric readings over time, including sign-ups, users, visits, sales, funnels, and tasks. It is specific about the resource and type of output, though the phrasing is tangled and it does not explicitly distinguish itself from siblings such as ask_for.

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?

It gives clear context that this is for requesting numbers from a project source, a .source.md path, or a linked GitHub folder. However, it does not say when not to use it or name an alternative tool for related asks.

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