Skip to main content
Glama

San Francisco police incident reports from the city open

gov_sf_open_data
Read-only

San Francisco police incident reports from the city open data portal (data.sf.gov, dataset wg3w-h783): date and time, category, subcategory, description, resolution and police district. Newest reports first; reports as filed, not verified outcomes. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
limitNoReports to return, 1 to 20 (default 5)
categoryNoOptional incident category, exact text, e.g. Lost Property

Output Schema

NameRequiredDescriptionDefault
sourceNo
reportsNo
categoryNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real value beyond that: newest-first ordering, the caveat that reports are as filed and not verified outcomes, and the pricing model ($0.002 per successful call via x402, failures not charged). It does not cover rate limits or pagination, keeping it short of a 5.

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

Conciseness5/5

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

Two dense sentences with the dataset identity and field coverage front-loaded, followed by ordering, data-quality caveat and price. No filler or restated title.

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

Completeness5/5

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

With a simple two-param read-only tool and an output schema present, the description needn't explain return shape. It covers source, scope, ordering, trust caveat and cost, which is everything an agent needs to call it correctly.

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%, so both params (limit, category) are already documented with range and an example. The description adds no syntax or interpretation beyond the schema, so the baseline 3 applies.

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?

States the exact resource (San Francisco police incident reports), the source portal and dataset id (data.sf.gov, wg3w-h783), and the fields returned. An agent can distinguish this from the other gov_* dataset tools purely from the description.

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?

Usage is implied rather than prescribed: it is clear the tool serves SF police incident data, but there is no explicit when-to-use versus alternatives and no exclusions. The sibling list contains many other gov portals, and nothing routes the agent between them beyond the city/dataset naming.

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