Docs & helpSecuritySign in

WayWiser for agents and Claude

Every member action is an API route and the same key drives an MCP server: getting a key, connecting Claude Code, the 41 tools, what stays with people, rate limits, and a key per client for managed bid writing.

  • /admin/api-keys

Everything a member can do in WayWiser is an HTTP route on the API, and every route accepts an API key. The same key drives an MCP server, so Claude Code — or any MCP client that speaks Streamable HTTP — can find the tender, analyse the pack, draft and review answers and report on the pipeline, as one member of your company. Outputs are decision support with citations, never advice; evaluator output is a review (coverage and gaps), never a score forecast.

This page is the short version, for the person who owns the key. The full guide, written for the agent itself, is For agents; the reference is the OpenAPI document and the short index, both listed at the foot of this page.

Getting a key

An admin mints a key on Company → API keys (open it) for any member of the company. The key:

  • acts as that member — every audit entry names the person and says it was their key;
  • has a ceiling of member or admin, never higher than the member's own role, and never WayWiser staff;
  • can be read-only — lookups and reports only; anything that changes a record is refused;
  • expires after 90 days by default and a year at most, and can be revoked at any time, which stops it at once.

The secret is shown once, on the page you land on after minting, and never again: copy it then, and if it is lost revoke the key and mint another. It looks like ww_live_ followed by 43 characters. Keep it in an environment variable or a secret store, never a committed file. The fields of the minting form are described on Team and roles.

Connecting Claude Code

One command, with your key in place of the dots:

claude mcp add --transport http waywiser https://waywiser-api-zxgq66afoq-nw.a.run.app/mcp \
  --header "Authorization: Bearer ww_live_…"

Or, checked into a project without the secret, .mcp.json with the key in the environment as WAYWISER_API_KEY:

{
  "mcpServers": {
    "waywiser": {
      "type": "http",
      "url": "https://waywiser-api-zxgq66afoq-nw.a.run.app/mcp",
      "headers": { "Authorization": "Bearer ${WAYWISER_API_KEY}" }
    }
  }
}

Claude Desktop and any other MCP client that speaks Streamable HTTP connect the same way: the same URL, the same Authorization header. The server authenticates by that header and nothing else — a signed-in browser session is refused there — so the client has to be able to send one. There is no session to keep between calls.

Rules of the road

The agent is told these in each tool's description; they are here so you know what to expect of it.

  • It starts with whoami — the member the key acts as, the company it is pinned to, the role, and whether the key is read-only. A read-only key reaches every tool that only reads and is refused on the rest, which whoami lists (24 of the 41 — search-knowledge and export-tender among them, because their routes write a record).
  • One key, one company. A key is pinned to the company it was minted in. There is nothing to switch, and another company's records look exactly as if they did not exist.
  • Background work comes back as an operation. Analysing a pack, drafting, reviewing and the other paid jobs are queued, not awaited: the tool returns an operation and the agent polls get-operation until it is done or failed. A pack typically takes 4–8 minutes, a draft or review under a minute — the same jobs you see on Activity.
  • Lists page by cursor. 25 rows a page; the agent passes nextCursor back until it is null.
  • Uploads are base64, up to 10 MB decoded. Above that the refusal hands back a curl one-liner that sends the same file to the same route as raw bytes, with the same key — up to 60 MiB per file. A file of 18 MB or more is refused at the transport instead, with the same one-liner.
  • Two tools ask the person first. decide-go-no-go and submit-tender are your decision, not the agent's: it asks, then passes on what you said. submit-tender without force reports the undrafted questions instead of submitting, and an agent must never set force on its own.
  • export-tender returns the .docx itself, beside a line naming the file and its size.

The tools

Forty-one tools. Each is one of the API's own routes called with your key, so the company pinning, the role ceiling, read-only keys, rate limits, the AI budget and the audit trail are exactly the ones a person has.

Tool What it does
whoami The member this key acts as, the company it is pinned to, the role and the key itself
list-activity Background work: extractions, documents, drafts, reviews, clarification drafts, exports
get-operation One background job by its id — the thing to poll after a tool returns an operation
list-notices Live tender notices for this company, fit-ranked by default; closed ones left out
pursue-notice Create a qualifying tender from a notice
dismiss-notice "Not for us": hide a notice from the feed
list-tenders The pipeline: every tender with where it is on the bid journey
get-tender A tender in full: questions, checklist, clarifications, pack documents, go/no-go, submission, progress
create-tender Create a tender by hand, not from a notice
set-tender-stage Move a tender between stages (qualifying, live, submitted, archived)
upload-tender-document Upload an ITT pack file to a tender — the entry point to analysis, plan, workspace and drafting
analyse-tender Analyse the pack: questions, weighting, deadlines and compliance items, with low confidence flagged
list-extractions Every analysis run for the tender, newest first
create-bid-plan Create the bid plan from the latest complete analysis, once
get-readiness Bid readiness: weight-averaged review coverage, 0–100 (a review measure, never a score forecast)
get-question A question in one call: the question, draft blocks, comments, snapshots, latest review, members
get-question-evidence The evidence panel: passages retrieved for this question, filtered to what the caller may read
draft-question A grounded first draft from the evidence (background job)
review-question Run the evaluator review: criteria, gaps and coverage against the rubric (background job)
get-review The latest review: per-criterion findings, gaps, strengths, coverage
add-paragraph Append a draft block (prose, heading, bullets, table or exhibit) with its citations
update-paragraph Edit a block: text, kind, citations, or the unverified flag
fix-paragraph Fix an amber-flagged claim from the facts bank (background job)
log-clarification Log a clarification to raise with the buyer; the portal question is drafted in the background
answer-clarification Record the buyer's answer, optionally applying it to the question's weighting or word limit, with provenance
draft-clarification-email Compose one email covering every open clarification (background job)
get-go-no-go What the platform can score before anyone decides: factors with evidence, coverage, the incumbent search
run-go-no-go One-click go/no-go: score every factor with evidence, name what could not be scored
decide-go-no-go (ask the person) Record the bid / no-bid decision on a run — the only route that archives a live bid
export-tender Export the submission as .docx — the whole bid, or one question
submit-tender (ask the person) Mark the bid submitted: freezes the decision and moves it out of Live, irreversibly
record-outcome Label the outcome (won / lost) with the buyer scores — closes the learning loop
list-corpora The corpora the caller may browse (never the central proprietary corpus)
list-documents Documents in a corpus, with status and quality counts
upload-document Upload a document into a corpus; parse, chunk and embed run in the background
search-knowledge Hybrid retrieval over what the caller may read: passages, past answers, facts — with provenance
list-facts The facts bank with each upload's grade; expired facts are marked and never enter drafts
create-fact Add a fact by hand (label, type, value, scope, expiry)
upload-facts-document Upload a facts-bank document: ingested like any document and read against the fact type's fields, then graded
get-company-profile The company profile that drives tender matching
get-benchmarks Winning-price distribution for comparable lots

What stays with people

Whatever its ceiling, a key can never manage members and invitations, corpus access, the keys themselves, the workspace's export or deletion, or anything on WayWiser's own platform pages. Each of those answers the agent with a refusal (human_only_route); a person does it in the app. Company configuration — the profile, settings, the export logo and the corpora — stays open to a key with an admin ceiling.

REST only, for now

Not every route is a tool yet. With the same key these are plain HTTP calls, described in the full guide: editing company settings and the profile; creating, renaming and deleting a corpus; re-ingesting a document and regrading a facts-bank upload; the go/no-go interview; marking a clarification batch sent and mapping the buyer's reply onto it; and, for a WayWiser bid writer, sharing what they made with the client. The reference is the OpenAPI document (every operation, with the same validation the route runs), the short index and the guide as markdown, which is what the agent itself reads.

Rate limits

Limits are per key, per minute — an agent never eats its person's quota, nor the reverse: 300 requests across every route, 10 for the routes that call a model (analyse, draft, review, fix and the like), 10 for the heavy ones (plan, export), 30 for uploads, 60 for search, and 240 for the MCP envelope itself, on top of each tool's own bucket. A refusal says how long to wait; the agent waits and retries the same call, which is safe because every repeatable route is idempotent. The company's daily AI token ceiling applies to a key as it does to a person: once it is spent, the paid actions refuse until tokens age out of the rolling 24-hour window, and the agent is told to back off for an hour.

Managed bid writing with a key per client

A WayWiser bid writer works inside each client's workspace as a member of it, with the role described on Team and roles. A key for that work is minted in the client's company, for the writer's membership there, by that client's own admin — a bid writer cannot mint keys. The key acts as the writer: whoami answers with the role bidwriter, and the key sees exactly what the writer sees.

One key is pinned to one company, so a writer with several clients adds one MCP server per client and names each after the client — waywiser-acme, waywiser-bromley — so the agent and the writer always know which workspace a call lands in:

claude mcp add --transport http waywiser-acme https://waywiser-api-zxgq66afoq-nw.a.run.app/mcp \
  --header "Authorization: Bearer ww_live_…"

What the writer creates through the key — documents, facts, tenders and their questions — is private to the writer until it is shared, exactly as in the app: it does not appear on the client's pages and never grounds the client's drafts. Sharing is the Share control in the app or, with the same key, a REST call for now (PATCH the document's, tender's or fact's visibility to client); taking it back is the same call with bidwriter. A key minted for anyone else in that company sees shared rows only.

Telling us what the server cannot do

The tool list is curated and it will have gaps. When an agent reaches for a tool that is not there, or a tool does not do what the step needed, tell us three things: the step of the bid journey you were on, the tool you reached for, and what you had to do instead — a REST call, or the app. Use Send feedback in the app, as a bug or a feature; if you work with us in the WayWiser repository on GitHub (Waywiser-AI/waywiser), open an issue there with the label mcp-gap, which is the one we triage the tool list from.