Skip to main content
Glama

What your paid dependencies deliver

check_exposure
Read-only

Look up every paid endpoint your agents call in one go, added up by the address each one pays: which are unknown to the record, which took money and returned nothing, which list what they do not serve, and how much monthly spend sits on each. Unknown is reported as unknown, never as bad.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dependencies": "<dependencies>"
    },
    "name": "check_exposure"
  }
}

Input Schema

NameRequiredDescriptionDefault
dependenciesYesthe paid endpoints your agents call, each a url or an object naming one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / dependencies / items / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 2048,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "calls_per_month": {
      -        "description": "how often your fleet calls it, to add up what it costs",
      -        "maximum": 1000000000,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "method": {
      -        "enum": [
      -          "GET",
      -          "POST"
      -        ],
      -        "type": "string"
      -      },
      -      "pay_to": {
      -        "description": "the payTo address from the 402, to learn what the record knows about who gets paid",
      -        "pattern": "^0x[0-9a-fA-F]{40}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$",
      -        "type": "string"
      -      },
      -      "url": {
      -        "maxLength": 2048,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "url"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 2048,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "calls_per_month": {
      +        "description": "how often your fleet calls it, to add up what it costs",
      +        "maximum": 1000000000,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "method": {
      +        "enum": [
      +          "GET",
      +          "POST"
      +        ],
      +        "type": "string"
      +      },
      +      "pay_to": {
      +        "description": "the payTo from the 402, to learn what the record knows about who gets paid; a urn is read as none",
      +        "pattern": "^0x[0-9a-fA-F]{40}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$|^urn:x402:[A-Za-z0-9:._-]{1,100}$",
      +        "type": "string"
      +      },
      +      "url": {
      +        "maxLength": 2048,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "url"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=true), so the description's job is to add context, which it does: it discloses the reporting rule that 'unknown is reported as unknown, never as bad,' which is genuine behavioral semantics an agent cannot infer from the schema. It stops short of describing response shape, latency, or how the 200-item cap affects behavior, which keeps it below a 5.

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?

Two sentences, purpose front-loaded, with no filler or repetition. The middle clause ('which list what they do not serve') is grammatically tangled and costs a little parsing effort, but nothing is wasted.

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?

There is no output schema, so the description carries the burden of describing returns, and it does: it enumerates the four things the agent will learn per payee address, including the spend figure. For a single-parameter, read-only batch lookup with 100% schema coverage, nothing essential is missing.

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 coverage is 100%, so the baseline is 3; the description earns the extra point by explaining the grouping semantics — results are aggregated by the payee address each endpoint pays — and by tying the monthly-spend figure to calls per endpoint, which the schema alone does not convey. The url-vs-object input forms are left entirely to the schema, which is acceptable at full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb ('Look up') and a concrete resource (every paid endpoint your agents call), and it enumerates the result categories it produces: unknown-to-the-record, paid-but-empty, lists-what-it-does-not-serve, and monthly spend per payee address. That is enough to distinguish it from single-capability lookups like check_grade or get_capability, though the phrasing ('added up by the address each one pays') is denser than it needs to be.

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 only implied: 'in one go' signals this is the batch/aggregate path rather than querying endpoints one at a time, and the monthly-spend angle signals a cost-audit use case. There is no explicit statement of when to prefer this over the sibling tools, and no stated prerequisites or exclusions.

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