SEFAZ MG DEC: Caixa Postal
Server Details
SEFAZ MG DEC: Caixa Postal, official-source lookup. Platform-hosted, pay per query with prepaid cred
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- mcp-dir/sefaz_mg_dec_caixa_postal-mcp
- GitHub Stars
- 0
- Server Listing
- SEFAZ MG DEC: Caixa Postal
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 7 of 7 tools scored.
The `marketplace` tool is a broad umbrella that also covers listing, running, connecting, and reporting, so its boundary blurs with `toolkit_info`, `connect`, and `report_bug`. `authenticate` and `connect` similarly overlap around credentials and connection status, though the SEFAZ query tool itself is unambiguous.
Naming mixes bare verbs (`connect`, `authenticate`), verb_noun patterns (`report_bug`, `show_version`), and noun phrases (`marketplace`, `toolkit_info`), plus one Portuguese-style domain name (`sefaz_mg_dec_caixa_postal_consultar`). The names are readable but do not follow a single consistent convention.
Seven tools is within a reasonable, generally well-scoped range. However, only one tool is specific to the SEFAZ domain and the rest are generic platform or utility tools, with `marketplace` acting as a very large hidden feature surface.
The core consultation workflow is supported: `authenticate` and `connect` handle access, and `sefaz_mg_dec_caixa_postal_consultar` performs the official query. For a read-only governmental query MCP this is essentially complete, with minor indirect gaps such as query history or more direct billing management.
Available Tools
7 toolsauthenticateAIdempotentInspect
MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header Authorization: Bearer <token> for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "" } after the user pastes, or with no args to get the link.
| Name | Required | Description | Default |
|---|---|---|---|
| token | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already imply readOnlyHint=false and idempotence, and the description adds useful behavioral detail about permanent vs. session-only logins. However, it does not describe what the API returns or what happens with an invalid JWT, limiting transparency for an agent.
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 compact and purposeful: each clause adds operative detail about either configuration, session setup, or argument usage. Though it's really one run-on paragraph, it's still scannable and information-dense.
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?
There is no output schema, so the description is expected to explain return outputs. It does for the no-arg path ('to get the link') but not for the token-paste path. For a simple authentication utility, the main interaction models are still adequately covered.
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?
The input schema has a single token parameter with no description. The description compensates by explicitly identifying { token: '<jwt>' } and saying that omitting it triggers link generation. This makes the parameter semantics clear enough for invocation.
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 this is an authentication tool: 'log in in the browser, copy the access token' and 'MCP.AI for IDE agents'. It identifies the tool's role and gives concrete login context, but it does not explicitly distinguish itself from sibling tools like 'connect'.
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 gives highly usable guidance: the best approach is adding the Authorization header to the server config, while pasting the token gives a session-only login. It also explains when to call with no args to receive the login link. It doesn't explicitly mention what the sibling 'connect' tool should be used for, but the indication here is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
connectARead-onlyIdempotentInspect
Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate a safe, read-only, idempotent operation. The description adds meaningful conditional behavior, specifying the authenticated:true and empty pending[] state versus the credentials-missing state with connect_url and per-install URLs.
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?
Two concise, front-loaded sentences deliver the essential behavior without redundancy. Every clause adds meaningful detail about the return states.
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?
For a simple zero-parameter status tool with strong annotations, the description is complete: it covers the read-only nature, both possible states, and the key returned values. No output schema exists, but the description sufficiently describes the expected response behavior.
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?
The tool has zero parameters and schema coverage is 100%, so the description does not need to explain parameters. The baseline for zero-parameter tools is 4, and the description appropriately focuses on outputs instead.
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 the tool returns connection status and URLs, and further clarifies conditional behavior for both connected and missing-credential cases. This distinguishes it from siblings like authenticate and show_version.
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 implies this is the tool to check connection state, especially when credentials may be missing, and explains what response to expect. It provides clear context but does not explicitly exclude alternatives or name when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
marketplaceAInspect
The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/ link that opens without login.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| action | No | search | |
| mcp_id | No | ||
| message | No | ||
| tool_id | No | ||
| arguments | No | {} | |
| immediate | No | ||
| tier_slug | No | ||
| prompt_body | No | ||
| prompt_slug | No | ||
| prompt_tool | No | ||
| prompt_vars | No | {} | |
| conversation | No | [] | |
| prompt_title | No | ||
| request_name | No | ||
| cancel_reason | No | ||
| cancel_comment | No | ||
| prompt_targets | No | ||
| report_context | No | ||
| prompt_category | No | ||
| request_details | No | ||
| prompt_description | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds noteworthy behavioral detail beyond the coarse annotations: invoke runs tools that are not installed, credential needs return a connect link, empty wallets return checkout links, writes (install/uninstall/subscribe/cancel) require workspace owner/admin, and installed MCPs don't bloat the tool list. It also discloses the distinction between installed_in_toolkit and installed_in_workspace. No contradiction with annotations was found.
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?
Rather long, but every paragraph earns its place given that this is a multi-action gateway covering a marketplace plus a prompt library. It is reasonably well organized, starting with the core purpose, then the key invoke behavior, then auxiliary actions and permissions.
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?
Taking the schema and annotations into account, the description offers a solid overview of the core orchestrator, the invoke one-off behavior, auth/billing interactions, workspace permission implications, and prompt library operations. It does not explicitly describe the 'resume' action or the shape of some responses, but it is still wide-ranging coverage for a tool of this complexity.
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 description coverage is 0%, so the description carries the burden of explaining parameter roles. It succeeds for major fields (action flow, query, mcp_id, tool_id, arguments) and the prompt library fields, but several parameters (resume, conversation, cancel_comment) are only partially covered or not introduced individually.
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 precisely identifies the marketplace as the in-platform catalog of MCPs and the way to run them, with explicit verbs for each sub-role (search, describe, invoke, install, subscribe, etc.). This differentiates it from siblings such as authenticate, connect, and sefaz_mg... by situating it as the central orchestration hub.
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 gives strong when-to-use guidance: prefer invoke for occasional one-off runs, use install only for making tools native, and use list_tools to see what is callable immediately. It also enumerates alternatives for billing, feedback, new MCP requests, and prompt-library operations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
report_bugAIdempotentInspect
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| message | Yes | ||
| conversation | No | [] |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, covering the safety profile. The description adds the context that the conversation array is needed for reproduction, which is a meaningful behavioral hint. However, it does not disclose what happens after reporting (e.g., whether an acknowledgment is returned) or any other side effects, so it remains moderately transparent.
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 exactly two sentences, both of which add value. It front-loads the purpose and then provides a specific usage tip. There is no redundant or filler text, making it highly concise and well-structured.
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?
Given the tool's low complexity (three simple string parameters, no output schema), the description is almost adequate. However, it omits explicit definitions for 'message' and 'context', which are critical for correct invocation. It covers the essential purpose and reproduction hint but leaves a gap in parameter documentation, making it moderately 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?
With 0% schema description coverage, the description must compensate, but it only hints at the 'conversation' parameter ('Include the conversation array'). The required 'message' parameter is only implicitly connected to the purpose ('Report a bug...'), and the optional 'context' parameter is completely unexplained. This leaves the agent without enough detail for correct parameter usage.
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 explicitly states the tool's action: 'Report a bug, missing feature, or send feedback.' This clearly identifies the verb and resource, distinguishing it from sibling tools like authenticate or show_version. The purpose is unambiguous and specific.
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 tells users when to use the tool (to report bugs, missing features, or provide feedback) and gives an explicit instruction to 'Include the conversation array with recent messages for reproduction.' This provides clear context without needing to exclude alternatives, as no sibling tool serves a similar purpose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
sefaz_mg_dec_caixa_postal_consultarARead-onlyIdempotentInspect
SEFAZ MG DEC: Caixa Postal, consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informação de fontes e órgãos oficiais brasileiros (a mesma disponível ao cidadão), não é dado sigiloso. O cliente é o controlador dos dados e responde pela finalidade legítima (LGPD).
| Name | Required | Description | Default |
|---|---|---|---|
| data_fim | No | ||
| data_inicio | No | ||
| pkcs12_cert | Yes | ||
| pkcs12_pass | Yes | ||
| ignora_nao_lidas | No |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly=true, idempotent=true, and destructive=false. The description adds valuable context around payment per query, absence of platform credentials, the non-confidential nature of the data, and LGPD-related control responsibilities. This goes beyond the annotations, though it stops short of describing output format or edge-case behavior.
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 reasonably concise and front-loaded with the core purpose. All sentences carry meaningful information, though the LGPD disclaimer and the repetition of 'official sources' add slight redundancy.
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 tool has 5 parameters and no output schema or parameter descriptions. The description explains the general nature and commercial conditions of the call, but it does not explain required input formats, how the data is returned, pagination/date-range behavior, or any constraints on ignora_nao_lidas. This is inadequate for reliable autonomous invocation.
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 description coverage is 0% and the description provides no parameter-level information. The tool has 5 parameters, but neither the schema nor the description explains what data_inicio, data_fim, ignora_nao_lidas, pkcs12_cert, or pkcs12_pass mean or how they should be formatted. This is a critical gap for correct invocation.
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 the action (consulta) and the specific resource (SEFAZ MG DEC Caixa Postal). It also clarifies that it queries official Brazilian sources, which distinguishes it from sibling tools like authenticate or marketplace.
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 provides clear context: it is hosted by the platform, requires no platform credentials, and is paid per consultation via prepaid credits. It does not explicitly name alternatives or exclusions, so it falls short of a full when-to-use vs. when-not-to-use guide.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
show_versionARead-onlyIdempotentInspect
Show the current MCP platform and adapter versions.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description only states what it shows, without detailing side effects, permissions, or output behavior. The read-only nature is implied and confirmed by annotations, but the description adds no further behavioral context.
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 a single, concise sentence with no redundant information, achieving optimal brevity.
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?
For a simple version-check operation, the description is fully complete. It states exactly what information is provided (platform and adapter versions) without needing to explain return formats or additional context.
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?
The tool has no parameters, so there is nothing to describe. The empty schema is perfectly aligned with the description.
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 the action (Show) and the subject (current MCP platform and adapter versions), making its purpose unambiguous. It is distinct from sibling tools which perform other operations.
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 does not provide explicit guidance on when to use the tool (e.g., checking compatibility or verifying installation). While the operation is self-explanatory, no when-to-use 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.
toolkit_infoARead-onlyIdempotentInspect
Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, so safety is covered. The description adds behavioral context by enumerating the exact contents of the return value (installed MCPs, connection status, accounts, catalog tool counts), which goes beyond the annotations.
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 a single, well-structured sentence that front-loads the primary purpose and enumerates what is returned. No wasted words, and it is appropriately concise for a simple informational tool.
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?
Given zero parameters, no output schema, and strong annotations (readOnly, idempotent, non-destructive), the description covers all necessary context: it states what the tool returns, and the annotation covers behavioral safety. It is complete for an informational tool.
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?
There are zero parameters, so the schema provides no semantics to add. The baseline for 0-param tools is 4; the description does not need to compensate for any parameter coverage gaps.
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 states it 'Returns the current toolkit state' and lists specific details (installed MCPs, connection status, accounts, tool counts). This is a specific verb+resource description that clearly distinguishes it from sibling tools like connect or show_version.
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?
It implies usage for checking toolkit status but does not explicitly state when to use it versus alternatives or when not to use it. With siblings like show_version and connect, there is no explicit guidance on choosing this over others.
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
- Alicense-qualityCmaintenanceMCP server that enables querying SEFAZ MA DEC Caixa Postal information from the official source through a single tool. Works with any MCP client and uses prepaid credits, with no platform credentials required.MIT
- Alicense-qualityCmaintenanceMCP server for consulting SEFAZ CE DEC Caixa Postal (official Brazilian tax mailbox) via a hosted official API, with a single query tool. Works with any MCP client over HTTP using prepaid credits.MIT
- Alicense-qualityCmaintenanceMCP server for querying SEFAZ AL DEC Caixa Postal data from the official source, enabling reading and writing via one tool in any MCP-compatible client. It is hosted with prepaid per-use credits and requires no platform credentials.MIT
- -license-quality-maintenanceProvides a single tool to consult SEFAZ PE DEC Caixa Postal data from an official source, using prepaid credits and magic-link authentication.
Your Connectors
Sign in to create a connector for this server.