Skip to main content
Glama

Stop an agent shipping a broken dependency upgrade

Your agent wants to bump chalk from 4.1.2 to 5.0.0. Before it edits package.json, it asks what breaks:

GET /api/v1/packages/npm/chalk/advisory?from=4.1.2&to=5.0.0
Authorization: Bearer <key>
{
  "found": true,
  "packageName": "chalk",
  "fromVersion": "4.1.2",
  "toVersion": "5.0.0",
  "breakingCount": 2,
  "advisories": [
    {
      "severity": "breaking",
      "changeType": "MODULE_FORMAT_CHANGED",
      "description": "chalk 5.0.0 changed module format from \"commonjs (undeclared)\" to \"module\". CommonJS require() of this package will now fail.",
      "evidenceField": "type",
      "evidenceBefore": null,
      "evidenceAfter": "module",
      "migrationHint": "Convert the call site to import(), or pin to the last CommonJS release."
    },
    {
      "severity": "breaking",
      "changeType": "RUNTIME_REQUIREMENT_RAISED",
      "description": "chalk 5.0.0 raised its runtime requirement from \">=10\" to \"^12.17.0 || ^14.13 || >=16.0.0\". Older runtimes are no longer supported.",
      "evidenceField": "engines.node",
      "evidenceBefore": ">=10",
      "evidenceAfter": "^12.17.0 || ^14.13 || >=16.0.0",
      "migrationHint": "Confirm the deployment runtime satisfies the new floor before upgrading."
    }
  ]
}

Via MCP, the same question is one tool call:

{
  "name": "factreason_package_upgrade_advisory",
  "arguments": { "registry": "npm", "name": "chalk", "from": "4.1.2", "to": "5.0.0" }
}

Set responseFormat: "compact" on supported heavy MCP tools to remove repeated fields and prose while retaining the facts an agent needs. Package advisories preserve evidenceField, evidenceBefore, evidenceAfter, and migrationHint. Each compact response includes tokenMetrics counted with o200k_base. The default remains full for compatibility, and compact output never bypasses authorization or changes the query price.

Token savings vary with the response. Metrics count one exact JSON structuredContent payload and include the tokenMetrics object itself; the matching text block remains for MCP clients that do not consume structured content yet. The private application repository also carries a repeatable npm run benchmark:tokens fixture so published claims can be checked before release.

Every finding carries evidenceField, evidenceBefore and evidenceAfter — the exact registry metadata field and its values either side of the change. An agent can verify the claim against npm or PyPI directly rather than taking our word for it.

An agent can call factreason_create_key to get its own key instantly — no human, no card, no signup. The agent can use the returned key straight away, in the same session, by passing it as the apiKey argument of any paid tool; no reconnect needed. A client that can set headers can put it on the MCP connection as an Authorization: Bearer header instead. Eligible new users may receive up to $0.05 of one-off trial credit, subject to grant budgets and spent at the published per-tier prices — up to about two advisory lookups, or fifty component lookups. Successful advisory lookups after that cost $0.02 per query. Misses are never billed and never consume trial credit. Wallet-equipped agents can pay the 402 challenge directly with x402 on Base.


Related MCP server: Ecosyste.ms Package Data

Connect

Streamable HTTP. No install, no package to pull.

{
  "mcpServers": {
    "factreason": {
      "type": "http",
      "url": "https://factreason.com/mcp"
    }
  }
}

Manifest: /.well-known/mcp.json

Human quickstart and workflow guidance: /docs. Agents can fetch the same material as Markdown from /docs.md or use the complete index at /llms-full.txt.

The container/stdio bridge accepts an optional FACTREASON_API_KEY environment variable and forwards it as a Bearer credential to the same live endpoint. Tool discovery works without a key; metered lookups return HTTP 402 when neither a key nor a valid x402 payment is supplied.

Get a key — no signup, no card:

curl -X POST https://factreason.com/api/v1/keys/create \
  -H 'Content-Type: application/json' \
  -d '{"email":"you@example.com"}'

Tools

Tool

What it answers

factreason_package_upgrade_advisory

What breaks between two published npm/PyPI versions

factreason_create_key

Create a key; pass it as the apiKey argument of paid tools (or as a Bearer header)

factreason_api_schema

Exact request/response shape of an API endpoint at a version

factreason_api_breaking_changes

What breaks between two versions of a third-party HTTP API

factreason_integration_brief

Everything needed to write one working call to an API

factreason_discover_api

Which of 1,097 services can do X

factreason_deprecation_scan

Which endpoints are deprecated, sunset dates, replacements

factreason_auth_playbook

Auth schemes, scopes, rate-limit headers, error-code table

factreason_component_spec

Electronics component pinouts, voltages, packages

factreason_subscribe_spec_changes

Webhook or polling callback when a spec changes

factreason_create_topup_link

Stripe checkout link when credit runs out


Proof-of-Fact Signatures

Successful REST data responses and MCP tool-call responses are signed by our Ed25519 private key:

  • X-Warehouse-Proof-Signature: Ed25519 signature of the response payload

  • X-Fact-Public-Key-Id: Stable signing key identifier

  • X-Fact-Signature-Alg: EdDSA

Public keys are published and rotated via JWKS at https://factreason.com/.well-known/jwks.json.


Licence & Contact

MIT. Attribution requirement for APIs.guru source data: CC-BY 4.0. Questions, support, or data reports: hello@factreason.com.

Available Tools

10 tools
factreason_api_breaking_changesA
Read-onlyIdempotent
Inspect

Temporarily unavailable for third-party APIs while stored comparisons are revalidated; calls return an unbilled status and alternatives. When restored, this compares optional from/to API versions and returns removed endpoints, parameter changes, and migration notes. Use factreason_package_upgrade_advisory for npm or PyPI packages.

Inputs: service (required), toVersion, fromVersion. Returns: found, billed, changes, meaning, +5 more

factreason_api_schemaA
Read-onlyIdempotent
Inspect

Search exact request and response schemas for third-party API endpoints. Pass service alone to list its indexed endpoints, add query to narrow by path or operation, or use query alone across services; returns matches or nearest services. Uses metered access and does not modify source data. Prefer factreason_integration_brief for one callable request.

Inputs: query, service. Returns: hint, found, message, results, +2 more

factreason_auth_playbookA
Read-onlyIdempotent
Inspect

Get publisher-declared authentication schemes, scopes, rate-limit headers, and error codes for one third-party API. Returns a structured playbook or nearest service suggestions, and marks undocumented details as unstated rather than guessing. Uses metered access. Prefer factreason_integration_brief when assembling a complete API call.

Inputs: service (required). Returns: found, compact, message, playbook, +1 more

factreason_component_specA
Read-onlyIdempotent
Inspect

Look up electronics component pin assignments, voltage range, package, and alternatives. Pass exact partNumber for one component or query for a capability search; partNumber takes precedence if both are supplied. For exact lookups, set responseFormat="compact" for tokenizer-measured context savings; the backward-compatible default is "full". Uses metered access and returns matches or suggestions. Confirm critical values against the manufacturer datasheet.

Inputs: query, partNumber, responseFormat. Returns: data, hint, found, compact, +8 more

factreason_deprecation_scanA
Read-onlyIdempotent
Inspect

Scan publisher specifications for deprecated endpoints or parameters, sunset dates, and replacement operations. Omit filters for the catalogue-wide view, pass service to limit one API, and add endpoints to check selected paths. Uses metered access when findings exist. Use factreason_api_breaking_changes for broader version-to-version changes.

Inputs: service, endpoints. Returns: count, found, message, results

factreason_discover_apiA
Read-onlyIdempotent
Inspect

Find third-party APIs for a capability when the provider is unknown. Supply a concise capability such as "sms" or "manage DNS"; returns ranked services, example endpoints, and a next step. Uses metered access. When the provider is already known, call factreason_integration_brief instead.

Inputs: capability (required). Returns: hint, count, found, billed, +4 more

factreason_integration_briefA
Read-onlyIdempotent
Inspect

Compile one callable third-party API brief: base URL, auth scheme, required parameters and types, request body, and documented response codes. Service is required and endpoint optionally narrows the operation. Set responseFormat="compact" for tokenizer-measured context savings; the backward-compatible default returns the full brief plus compact form. Uses metered access. Prefer factreason_api_schema when exploring multiple endpoints.

Inputs: service (required), endpoint, responseFormat. Returns: hint, brief, found, billed, +5 more

factreason_package_upgrade_advisoryA
Read-onlyIdempotent
Inspect

Compare two exact published npm or PyPI versions and return publisher-declared registry metadata changes, including yanks, exports, module format, runtime floors, peers, and licences, with before/after evidence. Set responseFormat="compact" for tokenizer-measured context savings; the backward-compatible default is "full". This is a read-only metered lookup; misses are never billed and API keys receive a daily free allowance. Use it for package metadata; use factreason_api_breaking_changes for a third-party HTTP API, and consult changelogs for behavioural changes.

Inputs: to (required), from (required), name (required), registry (required), +1 more. Returns: found, scope, billed, message, +7 more

factreason_subscribe_spec_changesA
Idempotent
Inspect

Create a persistent specification watch for one service; a Bearer API key is required and each key may hold up to 50 watches. Without webhookUrl, read future events from the polling endpoint; with a public HTTP(S) URL, FactReason sends signed POST callbacks after later spec changes. Duplicate or unsafe webhook registrations are rejected. This does not ingest a specification immediately.

Inputs: serviceName (required), webhookUrl. Returns: error, watch, success

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.6/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action, with explicit cross-references to prevent confusion (e.g., api_schema vs integration_brief vs auth_playbook). The overlapping-looking deprecation_scan and api_breaking_changes are clearly differentiated as scan vs version comparison. Descriptions are precise and include guidance on when to use alternatives.

    Naming Consistency4/5

    All tools share the factreason_ prefix and snake_case format, maintaining a predictable style. However, some names are noun phrases (package_upgrade_advisory) while others are verb phrases (discover_api), creating a minor inconsistency in verb_noun structure. Despite this, the pattern is uniform and readable.

    Tool Count5/5

    With 10 tools, the set is well-scoped for the service's breadth, covering packages, APIs, components, and billing without unnecessary bloat. Each tool represents a distinct capability, and none feel redundant or superfluous. The count falls comfortably within the ideal range.

    Completeness4/5

    The tool surface covers a wide range of operations for packages, APIs, and components, including discovery, schema lookup, breaking changes, deprecations, auth, and subscription. Minor omissions exist, such as lack of a simple package metadata lookup or a way to fetch current versions, but core workflows are well-supported. The temporary unavailability of api_breaking_changes is a service state, not a design gap.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      A Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.
      2
      65,338
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables querying package ecosystem data from ecosyste.ms, including package metadata, versions, security advisories, dependencies, and repository information across 40+ package registries with fast local SQLite lookups and API fallback.
      10
      13 npm
      9
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that queries 19 package registries (npm, PyPI, crates.io, etc.) to retrieve the latest version of packages and their metadata.
      21
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding agents to retrieve the latest stable versions of packages and tools across multiple ecosystems, preventing outdated dependency versions in generated code.
      4
      245 PyPI
      9
      Apache 2.0