← Files SegwiseARCHIVED FILE

README.md

5.77 KB · Nov 30, 2026 · 00:24 UTC

↓ Download file

# Segwise 0.1.2

An update to the submitted `segwise-analytics` 0.1.1 package. It preserves the
package identity, display name, logos, starter prompt, remote MCP connection,
listing URLs, commerce declaration, and country targeting.

This release corrects the listing description and review guidance to distinguish
query-job creation from access to advertising data. It does not contain or deploy
the MCP server implementation.

## Connection and use

- MCP endpoint: https://mcp.segwise.ai/mcp
- Portable transport: Streamable HTTP. The legacy configuration remains the
  original URL-only HTTP form.
- Authentication: OAuth through the server's discovery metadata. Each person
  signs in with their own Segwise account with MCP access enabled.

Use `list_segwise_organizations` to retrieve accessible organizations. Start a
question for the selected organization with `start_segwise_query`, then pass
the returned `job_id` unchanged to `get_segwise_query` until completion or
failure, following the server's polling and deadline instructions. Repeated
running results do not mean the query failed; do not start duplicate jobs.

Starting a query creates a temporary background job and may save conversation
history for follow-ups. It cannot change campaigns, budgets, reports, tags, or
account settings, generate ads, or publish to ad networks. MCP queries use
authorized Segwise data and the stored competitor catalog. Chottu's separate
dashboard web tools are not exposed to the MCP agent.

## Tool annotation explanations

The following values describe the inspected implementation and the corrected
server's locally verified `tools/list` response. The remote endpoint must be
deployed and rescanned to confirm that it advertises these values.

| Tool | `readOnlyHint` | `destructiveHint` | `openWorldHint` |
| --- | --- | --- | --- |
| `list_segwise_organizations` | `true` | `false` | `false` |
| `start_segwise_query` | `false` | `false` | `false` |
| `get_segwise_query` | `true` | `false` | `false` |

### List organizations

- `readOnlyHint: true`: Reads the signed-in user's organization memberships;
  refreshing an internal membership cache does not change organizations,
  memberships, roles, or permissions.
- `destructiveHint: false`: Cannot delete organizations, revoke access, or
  overwrite account data.
- `openWorldHint: false`: Reads a bounded membership set from a configured
  identity service. It cannot search public entities or request arbitrary URLs.

### Start a query

- `readOnlyHint: false`: Creates a stateful job, launches background execution,
  and stores its status and result. Conversation history may also be saved.
  Reading analytics does not make this job-starting operation read-only.
- `destructiveHint: false`: Adds query work and conversation history without
  exposing campaign changes, deletion, cancellation, access revocation,
  publishing, or other destructive actions. The MCP agent excludes mutation and
  asset-generation tools.
- `openWorldHint: false`: Uses authorized Segwise analytics, reports, brand
  context, and stored competitor data, plus provider-hosted calculation tools.
  Its MCP execution path excludes public web search and page fetching. External
  hosting alone does not make a bounded private account or catalog open-world.

The start tool also has `idempotentHint: false`: a repeated successful start
creates another job. The job store is process-local, not a durable external
queue, and jobs may be lost on restart.

### Get a query

- `readOnlyHint: true`: Authorizes and reads an existing job's status and result.
  It does not create work, rerun the agent, or extend the execution deadline.
- `destructiveHint: false`: Cannot cancel, delete, or overwrite the job or its
  answer. Reading a completed result does not consume it; automatic expiry is
  storage housekeeping.
- `openWorldHint: false`: Reads an owner-bound stored job, with bounded
  organization authorization checks. It does not invoke the agent or browse.

## Server deployment is required

Tool annotations come from the remote MCP server's `tools/list` response.
Neither `plugin.json` nor `mcp.json` overrides those annotations. Uploading this
ZIP alone cannot fix the annotation review rejection.

The server fix changes `start_segwise_query` to `readOnlyHint: false`. MCP Go SDK
v1.7.0 preserves this explicit false boolean; non-nil pointer fields preserve
`destructiveHint: false` and `openWorldHint: false`. The SDK's legacy
`MCPGODEBUG=hintomitempty=1` switch must remain disabled. The raw HTTP response
regression test checks that all required hints are present as JSON booleans.

Deploy the corrected server, verify authenticated production `tools/list`, and
refresh the submitted plugin's MCP tool scan before resubmitting. The website
copy correction is tracked separately in Segwise website PR #151.

## Validation and review status

This is a locally prepared archive for upload to the existing submission.
No upload, server deployment, new live authenticated scan, or resubmission was
performed while preparing it. The MCP endpoint's public resource discovery was
reachable on 2026-11-04; this does not verify OAuth sign-in or live tool behavior.

The supplied five positive and three negative review cases are retained, with
wording corrected for job creation. They have not been rerun against production
in this preparation. The source archive contains no demo recording URL or
reviewer credentials. Verify the existing submission's recording, secure
reviewer access, publisher information, and imported review fields in the portal;
their saved state was not available through the source tool. Credentials belong
only in the portal's secure fields, never this ZIP.

The original listing, support, privacy, and terms URLs are preserved. Packaging
and public link checks do not establish review approval or replace the
publisher's policy attestations.

SHA-256: 64c99d6c8b506f643ba095f6b10e9cb296284f372118b87f450dc60df6d3def1