Skip to main content
Glama

get_badge_link

Read-onlyIdempotent

Generate an SVG badge URL for a domain's security score to embed in README, GitHub, or wikis. Choose from flat, flat-square, plastic, or large styles. No scan triggered, pure URL construction.

Instructions

Build the direct SVG badge URL for a domain's security score. Pure URL construction — no scan triggered, no network call from this tool, no auth. Returns a JSON object with badgeUrl ready to embed in README.md, GitHub, status pages, or wikis. Style options: flat (default), flat-square, plastic, large. Use for embeddable status badges; use get_pdf_report_link for a downloadable full report URL instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleNoflat
domainYesDomain name only, e.g. example.com (no URL, path, or port)
Behavior5/5

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

Beyond annotations, the description discloses that no scan is triggered, no network call is made, and no auth is required. It also specifies the exact return shape (JSON with badgeUrl). This adds substantial behavioral context that annotations alone do not provide.

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 four sentences, front-loaded with purpose, then details, then usage distinction. Every sentence adds value, with no fluff or repetition of schema fields beyond necessary clarification.

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?

With no output schema, the description fully explains the return format. It covers purpose, usage, side effects, and parameter semantics, making it self-contained for an agent to confidently invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%, and the description compensates by listing style options with the default, which clarifies the style parameter. The domain parameter already has a clear schema description, so the description adds minimal extra meaning but still contributes useful guidance for style.

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 clearly states the tool builds an SVG badge URL for a domain's security score, explicitly noting it is pure URL construction with no scan or network call. It also distinguishes itself from get_pdf_report_link, making the purpose unambiguous.

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

Usage Guidelines5/5

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

Explicit guidance is provided: use for embeddable status badges, and use get_pdf_report_link for downloadable full reports. The description also clarifies scenarios where this tool is appropriate (README, GitHub, status pages), meeting the when/when-not criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RoscoNL/intodns-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server