{"uid":"cap_xwUCJk2UeWzqHqtje8M-U","slug":"writerslogic-clause-tagger-466df572","name":"WritersLogic Clause Tagger","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/clause-tag?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"expect":{"type":"array","items":{"type":"object","required":["clause","tags"],"properties":{"tags":{"type":"array","items":{"type":"string","maxLength":40,"description":"Expected tag."},"maxItems":20},"clause":{"type":"integer","maximum":99,"minimum":0,"description":"Clause index."}},"additionalProperties":false},"maxItems":100,"description":"Tags a clause must carry; a missing one fails."},"clauses":{"type":"array","items":{"type":"string","maxLength":3000,"description":"One clause."},"maxItems":100,"minItems":1,"description":"Up to 100000 characters in total."},"extraCues":{"type":"array","items":{"type":"object","required":["tag","phrase"],"properties":{"tag":{"type":"string","maxLength":40,"description":"Tag to assign."},"phrase":{"type":"string","maxLength":80,"description":"Literal word phrase (case-insensitive, up to 8 words)."}},"additionalProperties":false},"maxItems":100,"description":"Your own cue phrases, matched as literal word sequences."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VDKfqnue3WbRFAwkBlmWd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Tags contract-style clauses with modal force (obligation, prohibition, permission, recommendation) and legal topic cues (payment, confidentiality, liability, etc.) using deterministic phrase matching.","exampleAgentPrompt":"Tag these three contract clauses for modal force and topic — I need to know which are obligations vs prohibitions and whether they relate to payment, confidentiality, or termination: [clause 1 text], [clause 2 text], [clause 3 text].","exampleUseCases":[{"title":"NDA triage before legal review","prompt":"I have 20 clauses from an NDA I need to triage before sending to our lawyer — can you tag each one with whether it's an obligation or prohibition and flag which ones relate to confidentiality or assignment?"},{"title":"Contract clause classification pipeline","prompt":"Run these 50 clauses from our vendor contract through clause tagging — I need to know the modal force of each and whether any touch on payment, liability, or governing law so we can prioritize the ones needing attention."},{"title":"Custom cue phrase enforcement","prompt":"Tag these contract clauses for the usual topics, but also add a custom cue for the phrase 'data retention period' and label it as 'data-retention' — I want to catch that in addition to the standard tags."}],"resultDescription":"For each clause, the endpoint returns the modal force tag (obligation, prohibition, permission, recommendation, or undecided), matched topic cue labels (e.g. payment, confidentiality, termination), the specific cue phrase that was matched, and its character offset within the clause. Clauses with no matching rule are reported as undecided with unknown status.","failureModes":["Clause text exceeds 3000 characters per item — request rejected","Total input exceeds 100,000 characters — batch too large","More than 100 clauses submitted — exceeds maxItems limit","Expected tag assertion fails — returns failure indication for that clause","Clause has no matching cue phrase — returned as undecided/unknown (not an error)","Bare 'will' or cue-less sentence submitted — not forced into a tag, returned as undecided","Invalid extraCues phrase (more than 8 words or over 80 chars) — rejected"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, rule-based tagging of contract clauses without relying on a language model — ideal for triage pipelines where you need consistent, auditable labels before human or AI review. Prefer this over LLM-based clause analysis when transparency, reproducibility, and cost predictability matter. Best for scenarios where you need to route or filter large numbers of clauses by topic or modal force before deeper analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:44:55.524Z","isFirstParty":false,"canonicalSlug":"writerslogic-clause-tagger-466df572"}