Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_saml-reconcile

Compares IdP SAML sign-in exports with SaaS SSO logs to detect never-issued assertions, replayed logins, and coverage gaps, then returns a signed severity report with ordered actions.

Instructions

Did anyone log in to your SaaS with a SAML assertion your identity provider never issued? Reads your IdP sign-in export and the SaaS SSO login export, hashes every user, assertion, session and IP on this computer, and gets a signed report from CAPPZ: orphan (never issued), reused (replayed) and coverage gaps, with severity and ordered actions; the findings are shown with real names here only. Costs 2 XRP from your wallet. The free local tool (edge node tools/saml-reconcile.ts) gives the same matching without the signed report. Moves money: on mainnet pass yes=true only after the person you act for agrees.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "issued": "<issued>",
      "logins": "<logins>",
      "loginsMap": "<loginsMap>"
    },
    "name": "market_saml-reconcile"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoPractice market only: act as this party id.
yesNoConfirms a mainnet money movement.
appsNoJSON file mapping both sides' application names to one id.
demoNoUse the practice market on this computer (nothing published, no real money).
splitNoMost batches you agree to pay for when the period is over one run's limit (12,000 records per side); each batch is its own job at the listed price. Default 1: a larger period is refused with the count and cost, nothing charged.
issuedYesIdP export as kind:file — okta:system-log.json, entra:signins.json, or csv:/json: with --issued-map.
loginsYesSaaS login export as csv:file or json:file.
aliasesNoJSON file mapping SaaS user ids to IdP subjects (applied before hashing).
networkNoWhich market (default testnet). Validate on testnet, then use mainnet (real XRP).
issuedMapNoField map JSON for a csv/json IdP export: {"at","subject","app","assertionId"?,"where"?}.
loginsMapYesField map JSON for the SaaS export: {"at","subject","app" or {"constant"},"where"?,"assertionId"?,"sessionId"?,"ip"?}.
windowMinNoMinutes before a login its assertion may have been issued (default 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv16.9.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses local hashing of user/assertion/session/IP, that names are only shown locally, a fixed cost of 2 XRP, and a consent precondition for mainnet spending. It does not cover turnaround time, failure/refund behavior, or what the signed report contains structurally.

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

Conciseness3/5

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

The rhetorical opener ('Did anyone log in…?') sets the problem well, but the rest is one dense run-on sentence that mixes mechanism, pricing, privacy, a free alternative and a consent rule without separation. Every clause carries information, yet the lack of structure hurts scanability.

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

Completeness4/5

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

For a 12-parameter, three-required tool with no output schema, the description covers the input pipeline, the local-hashing privacy model, the cost, the free alternative and the consent requirement for spending. Remaining gaps (pricing for split batches, error handling) are largely covered by the schema.

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 description coverage is 100%, so the parameter baseline is 3. The description adds real meaning for `yes` (a consent gate tied to money movement on mainnet) and the network progression (testnet then mainnet), but says nothing about the 12 params beyond what the schema already documents.

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 a specific verb and resource: it reads an IdP sign-in export plus a SaaS SSO login export and produces orphan/reused/coverage-gap findings with severity and ordered actions. It also names the sibling-adjacent free tool (edge node tools/saml-reconcile.ts) and the exact capability difference (signed report), so an agent can tell the two apart.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear selection context: the paid path is for a signed CAPPZ report, the free local tool gives the same matching without it, and practice/testnet should precede mainnet. The specific gate for spending money ('pass yes=true only after the person you act for agrees') is explicit, but there is no explicit when-not-to-use beyond the free-tool comparison.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.