agent-context-api
Server Details
Free MCP context preflight with local redaction and a paid HTTP upgrade.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- dacode-dev/agent-context-api
- GitHub Stars
- 0
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.1/5 across 1 of 1 tools scored.
With only one tool, there is no possibility of confusing it with another. The tool's purpose is singular and clearly defined.
The single tool name 'preflight_context' follows a clear verb_noun pattern. With only one tool, naming consistency is trivially satisfied.
A server with a single tool feels extremely thin, especially for an 'agent-context-api' which suggests a broader purpose. The scope is not well-served by one operation.
The one tool covers a narrow preflight operation (token counting, budgeting, redaction), but there are no complementary tools for managing or retrieving context, leaving obvious gaps for a context API.
Available Tools
1 toolpreflight_contextAInspect
Count tokens, apply an optional model-aware budget, and redact likely credentials locally. Inputs over 12,000 characters require the paid HTTP API.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text or code to preflight. | |
| model | No | Optional model name. | |
| redact | No | Redact likely credentials. | |
| token_budget | No | Optional hard token budget. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the transparency burden. It discloses that redaction happens locally and that there is a size-dependent API requirement. However, it does not describe the output format, whether the input is modified, or what happens when the budget is exceeded, leaving gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences: the first lists the core functions, the second a key constraint. Every word earns its place, and the most important information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description explains the tool's main operations and a size limitation, but without an output schema, it fails to clarify what is returned. It also omits edge-case behavior (e.g., empty input, budget enforcement mechanics). For a tool of this complexity, more detail is needed to be fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds valuable nuance: 'model-aware budget' explains how token_budget interacts with the model parameter, and 'locally' clarifies that redaction is client-side. These additions go beyond the schema's basic field descriptions, providing meaningful context.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states three specific functions: counting tokens, applying a model-aware budget, and redacting credentials. This is a specific verb+resource definition that matches the tool name and leaves no ambiguity about its purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly implies when to use the tool (whenever token counting, budgeting, or redaction is needed) and mentions a critical usage constraint (12,000-character threshold requires paid API). However, it does not explicitly discuss alternatives or exclusions, which would push it to a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- AlicenseAqualityAmaintenanceAn MCP server that redacts PII/PHI from text before it ever reaches an LLM — self-hosted, fail-closed, and HIPAA-aware.3MIT
- Flicense-qualityAmaintenanceRead-only MCP server that performs deterministic local preflights of agent-payment boundary documents and x402 v2 PaymentRequired JSON, and prepares unsubmitted public quote-request drafts without network calls or fund movement.
- Flicense-qualityCmaintenanceA local MCP server that guards outbound payloads by deciding to ALLOW, REWRITE, or REFUSE them, ensuring sensitive data is redacted and failures close the gate.
- Flicense-qualityBmaintenancePaid hosted MCP server for OpenAI Codex context compression, providing tools to compress context, estimate savings, issue receipts, and read history.