Skip to main content
Glama

ck_external_service

Track agent interactions with external APIs, with cost attribution, rate limits, and PII redaction. Supports recording, summaries, rate status, and top services.

Instructions

Track and govern agent interactions with external SaaS APIs. Rate limits per service, cost attribution, and PII redaction. Modes: record (log an interaction with auto-redaction), summary (aggregated view per service), rate_limit_status (current rates against limits), top_services (ranked by volume and cost).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cost_centsNoEstimated cost in cents.
endpointNoSanitized endpoint path. PII is auto-redacted.
interaction_typeNoType of interaction. Defaults to api_call.
latency_msNoRequest latency in milliseconds.
limitNoMax results for top_services mode. Default: 10.
metadataNoAdditional metadata.
methodNoHTTP method (GET, POST, etc.).
modeNoOperation mode. Defaults to summary.
service_nameNoExternal service name (e.g., github, slack, jira).
session_idYesSession identifier.
status_codeNoHTTP status code or result code.
task_idNoTask identifier for scoping the interaction.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
rate_limitsNo
recordedNo
servicesNo
summaryNo
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses auto-redaction of PII, rate limits, and cost attribution. However, it does not specify side effects like persistence or idempotency, which would be helpful for a multi-mode tool.

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 two sentences: the first states the core purpose, and the second lists modes concisely. No redundant information, front-loaded and efficient.

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?

Given the complexity (12 parameters, multiple modes, output schema exists), the description covers main features and modes. It lacks advice on when to use each mode or prerequisites, but the output schema compensates for return value details.

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 coverage is 100%, so the schema already describes all parameters. The description adds value by explaining modes and auto-redaction, but does not significantly enhance parameter understanding beyond what the schema provides.

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 'Track and govern agent interactions with external SaaS APIs' using a specific verb and resource. It distinguishes from sibling tools by focusing on external API governance, which is unique among the listed siblings.

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

Usage Guidelines4/5

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

The description implies when to use each mode (record, summary, rate_limit_status, top_services) but lacks explicit when-not-to-use or alternatives. The purpose is clear, but no exclusions are mentioned.

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/aryaminus/controlkeel'

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