Spiral gives your agent every tool with one account. Browse the tools →

opencode · Public Records

How to Use Tenders WA tender search in opencode

Returns matching tender notices with listing information such as the issuing agency and closing time. Use it to find relevant procurement opportunities before reading their full notices.

Prompts to try with Tenders WA tender search in opencode

Copy an example into opencode, or ask in your own words.

Use Tenders WA tender search to find cleaning opportunities in Perth Metropolitan and populate this project's opportunity view with the returned notices.

Tenders WA tender searchopencode
Try asking
  • Use Tenders WA tender search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Tenders WA tender search and tell me what changed since last week.

  • Check Tenders WA tender search and summarize what you find in three bullet points.

  • Pull the newest data from Tenders WA tender search and give me the result as a table.

How to set up Tenders WA tender search in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Tenders WA tender search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "tenders-wa-gov-au/public-procurement-tenders-contracts/search_tenders",
        "input": {
          "dcsp": "any"
        }
      }'

Then paste one of the prompts above: opencode finds Tenders WA tender search on Spiral, shows the price and runs it.

Tenders WA tender search providers and prices

Spiral runs Tenders WA tender search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Tenders WA (tenders.wa.gov.au) · Search tenders
tenders-wa-gov-au/public-procurement-tenders-contracts/search_tenders

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Dcspany, applicable, or not_applicableany

Delivering Community Services in Partnership policy filter.

TypeAny, requestForTender, expressionOfInterest, earlytenderadvice, draftforcomment, unadvertisedClosedTender, or onlineQuoteAny

Request type, form values.

Matchexact or anyexact

exact: the keywords as one phrase (form value exactMatch); any: any of the words (anyWord).

StateOpen, Early Advice, Closed, Awarded, Withdrawn, Shortlisted, Expired, NoOffsReceived and 1 moreOpen

Request state, using the form's own values (Open = Current, Early Advice = Future, NoOffsReceived = No Offers Received, AllOffsDeclined = All Offers Declined).

Region IDa number

Region id from lookups(regions), e.g. 7 = Perth Metropolitan; -1 or omitted = any.

Work typeany, goods, or worksany

goods = Goods & Services, works = Works.

Issuing business IDa number

Issuing agency id from lookups(issuing_agencies); -1 or omitted = any.

Public authority IDa number

Public authority id from lookups(public_authorities); -1 or omitted = any.

Aboriginal participationany, applicable, or not_applicableany

Aboriginal Procurement Policy participation filter (form field app).

Pre qualification level IDa number

Builder pre-qualification level id from lookups(pre_qualification_levels); -1 or omitted = any.

Every API field of Tenders WA (tenders.wa.gov.au) · Search tenders is on its tool page: open its card above.

What can you do with Tenders WA tender search in opencode?

Build a procurement review table with WA tender notices, award records or agency and region labels. Use returned records to populate the project with real procurement data and preserve source references for review.

Shortlist cleaning opportunities

Scan advertised tenders, identify the relevant agencies and regions, then narrow the results to cleaning work. Read each selected notice's scope, closing time and briefing information to prepare a bid shortlist.

Find regional construction work

Review tender listings for construction activity, resolve the delivery region and search for relevant works. Examine the full notices to separate suitable projects from those with requirements your business cannot meet.

Research training equipment demand

Review procurement notices for training providers, identify the issuing agencies and search for equipment purchases. Read selected tenders to understand the requested equipment and delivery requirements.

Plan community service bids

Review early advice and community service notices, identify relevant buyers and regions, and search for suitable opportunities. Use full tender descriptions to prepare a service delivery assessment.

Questions about Tenders WA tender search in opencode

Can opencode use Tenders WA tender search?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Tenders WA tender search like any built-in tool.

How much does Tenders WA tender search cost in opencode?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need an Alexandria account to use Tenders WA tender search in opencode?

No. Spiral runs Tenders WA tender search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Tenders WA tender search in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Tenders WA tender search runs?

Tenders WA tender search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does Tenders WA cover every WA government opportunity?

No. The WA government explicitly notes that some agencies tender on their own platforms, so Tenders WA results do not represent the entire government procurement market.

How quickly do contract awards become public?

For award details required under rule D8.1, agencies must publish as soon as practicable and within 30 days after award. An award search can therefore lag the purchasing decision.

Can tender information change after publication?

Yes. The Department of Housing and Works publishes corrections, clarifications and amendments as addenda to the original request on Tenders WA.

Are all contract award details public?

No. Rule D8.2 permits withholding award details when an authorized officer documents that releasing them would create significant operational risk.

Which time zone does Tenders WA use?

Its application terms say the web servers use Perth local time. Interpret source timestamps in that context when comparing notices or planning deadline reviews.

Get started

Start using Tenders WA tender search in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options