Skip to main content
Glama

analyze_url_risk

Read-onlyIdempotent

Analyze a URL for structural and security risk signals and return a deterministic, policy-aware decision (allow, notice, confirm or block) under the applicable policy — permissive, balanced or strict, balanced by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe absolute URL to analyze.
policyNoOptional policy used to compute the decision: permissive, balanced or strict (default: balanced).
contextNoOptional declarative context.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYes
riskYes
inputYes
validYes
checksYes
domainYes
signalsYes
decisionYes
hostnameYes
protocolYes
subdomainYes
risk_scoreYes
public_suffixYes
normalized_urlYes
policy_appliedYes
schema_versionYes
ruleset_versionYes
context_completenessYes

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, and the description adds value by calling the analysis 'deterministic' and 'policy-aware', plus specifying the decision set. This is consistent with annotations and provides behavioral context beyond the safety flags.

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 a single dense sentence that includes the core action, the decision types, the policy levels, and the default policy. Every phrase earns its place, with no filler or repetition.

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 read-only tool with rich annotations and an output schema, the description is largely complete. It explains the main purpose and decision semantics, and the output schema covers return details. A slight gap is the lack of detail on 'structural and security risk signals', but this is acceptable given the annotation and schema coverage.

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 baseline is 3. The description repeats the policy options and default already present in the schema but adds no new parameter meaning. The URL and context parameters are fully documented in the schema, so this is acceptable.

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 uses a specific verb ('Analyze') and resource ('URL'), and clearly states the outcome: a deterministic policy-aware decision (allow, notice, confirm or block). It distinguishes from sibling tools (which analyze tool calls, commands, or files) by the URL focus.

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?

The description implies usage when a URL needs risk assessment, and it mentions the policy options with default, but it does not explicitly state when to use this tool over alternatives or provide any 'do not use' conditions. No exclusions or alternative references are given.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Each tool targets a distinct input type (tool call, URL, command, file), but analyze_tool_call could overlap with inspect_command when the tool call is a shell command. Descriptions are specific enough to mostly disambiguate.

Naming Consistency4/5

All tools follow a verb_noun pattern, but they mix 'analyze_' and 'inspect_' as verbs. The structure is consistent across tools, though the verb choice is not uniform.

Tool Count5/5

Four tools covering the core analysis targets (action, URL, command, file) is well-scoped for a security-analysis utility, not too thin and not overbuilt.

Completeness4/5

The surface covers the main entities an agent would need to analyze, but there are minor gaps such as a tool for managing policies or analyzing other data types (e.g., IP addresses or free-form text).

Resources