Skip to main content
Glama
MichaelEnny

healthsec-mcp

by MichaelEnny

run_fgsm

Evaluate clinical AI model robustness by running a LIME-guided FGSM adversarial attack. Returns AUROC drop, flip rate, and clinical-plausibility rate.

Instructions

Run a LIME-guided FGSM adversarial attack against a registered model.

    `batch` is capped at 100 samples -- the validated protocol limit.
    Returns AUROC drop, flip rate, and the clinical-plausibility rate of
    the generated adversarial samples. A 100% plausibility rate does not
    mean the attack failed: it means bounds clipping alone does not stop
    the attack, since perturbations are clipped to clinical bounds by
    construction.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNo
batchYes
epsilonNo
model_handleYes
n_lime_samplesNo
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the batch cap (100 samples), return metrics, and clarifies a common misconception about plausibility rate. However, it does not state whether the tool modifies the model, requires authentication, or has other side effects.

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

Conciseness4/5

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

The description is compact with three sentences, each serving a purpose: stating the action, capping batch, and explaining return values. It is well-structured and front-loaded.

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

Completeness2/5

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

For a tool with 5 parameters, no output schema, and no parameter descriptions in the schema, the description omits critical details about seed, epsilon, n_lime_samples, and model registration requirements. This leaves the agent underinformed for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It only describes the batch parameter (cap) and implicitly mentions epsilon via the attack name. Other parameters (seed, model_handle, n_lime_samples, epsilon) are left unexplained, leaving the agent without sufficient understanding.

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 opens with a specific verb and resource: 'Run a LIME-guided FGSM adversarial attack against a registered model.' This clearly states what the tool does and differentiates it from sibling tools like run_boundary_attack or run_membership_inference.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives like run_boundary_attack. The description does not mention prerequisites or scenarios where this attack is appropriate.

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/MichaelEnny/healthsec-mcp'

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