Skip to main content
Glama

Web Security Txt

web_security_txt
Read-only

Fetches a site's security.txt from /.well-known/security.txt (fallback /security.txt) and parses the RFC 9116 fields: contacts, expiry (and whether it has expired), encryption, policy, acknowledgments, languages, canonical, hiring. Reports whether it is PGP-signed and lists RFC problems found. Public http(s) hosts only. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL of the site (any page; only the host is used)

Output Schema

NameRequiredDescriptionDefault
hostNo
hiringNo
policyNo
sourceNo
expiredNo
expiresNo
contactsNo
locationNo
problemsNo
canonicalNo
checkedAtNo
compliantNo
pgpSignedNo
encryptionNo
acknowledgmentsNo
preferredLanguagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

With annotations already declaring readOnlyHint and openWorldHint, the description adds substantial behavioral context: fallback path, RFC field parsing, expired-expiry reporting, PGP signature status, RFC problem listing, and full payment semantics including per-success pricing and no charge for failures. This is far beyond what the annotations provide and contains no contradiction.

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

Conciseness5/5

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

The description is front-loaded with the core fetch-and-parse behavior, then cleanly appends the payment model in a separate sentence. Every clause carries information useful for correct invocation or interpretation.

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

Completeness5/5

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

An output schema exists, so return shape need not be explained, and the description still covers the important output categories: parsed fields, expiry status, PGP status, and RFC problems. Combined with annotations that cover safety and openness, plus explicit payment behavior, nothing material is missing for this niche tool.

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%, and the single url parameter is already documented as accepting any page URL while using only the host. The description reinforces the public http(s) constraint but adds no new syntax or format details beyond the schema, so the baseline of 3 applies.

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?

The description states a specific verb and resource: fetches and parses a site's security.txt from standardized paths. It names the RFC 9116 fields it extracts and distinguishes the operation from generic web-fetch or header tools by focusing on the security.txt standard.

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

Usage Guidelines3/5

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

Usage is implied by the resource and path, and it gives a clear constraint: public http(s) hosts only. However, it does not explicitly say when to choose this over sibling tools such as headers, ssl, robots, or dns, nor does it name alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources