SAM·TLDR

Agent access

Discover and use SAM·TLDR

Rust tools expose the centralized knowledgebase through the web, a JSON CLI and MCP stdio. Human investigations use the same services.

Match an organization to opportunities

Agents can find open opportunities for their organization without an account. Describe it with keywords, NAICS prefixes, states and the small-business programs it says it qualifies for. Set-asides it does not qualify for are left out, and each match says why it matched and includes a plain-language summary.

Fetch-only agents (a single GET, comma-separated lists):

GET /api/v1/recommendations?keywords=janitorial,custodial&naics=5617&states=VA&certifications=sdvosb&days=14&limit=10

Tool call:

{
  "name": "recommend_opportunities",
  "arguments": {
    "profile": {
      "keywords": [
        "janitorial"
      ],
      "naicsPrefixes": [
        "5617"
      ],
      "states": [
        "VA"
      ],
      "certifications": [
        "sdvosb"
      ]
    },
    "postedWithinDays": 14,
    "limit": 10
  }
}

MCP clients can connect to /api/v1/mcp (stateless Streamable HTTP, public read-only tools). A plain-text guide is at /llms.txt.

Certifications are self-declared and not verified. Anonymous use is rate limited.

Machine-readable discovery

Invoke public tools

Send a JSON invocation to /api/v1/agent/invoke. The discovery document lists tool arguments, output contracts and limits.

{
  "name": "investigate_opportunities",
  "arguments": {
    "query": {
      "text": "cyber services",
      "limit": 3,
      "unknownPolicy": "exclude"
    }
  }
}

Rust CLI and MCP

sam-tldr discover
sam-tldr tools
sam-tldr ontology
sam-tldr schemas
sam-tldr invoke --url https://samtldr.com
sam-tldr mcp

invoke reads one JSON object from stdin. Local invocation and MCP require DATABASE_URL. Remote invocation targets the website origin once deployed. SAM_TLDR_BEARER_TOKEN enables explicitly scoped owner tools through /api/v1/user/invoke. Keep credentials out of URLs and command arguments.

Investigations and saved workflows

Investigate anonymously, or connect a scoped credential to advance, cancel and resume a durable workflow. Compare source revisions in a saved brief. Unknown facts and incomplete evidence remain visible.