Skip to main content
Glama

validate_cvm_token_rules

Valida uma operação de investimento em token contra regras da CVM. Hoje só a RCVM 88 (limite anual de BRL 20 mil para varejo) está implementada; sem ruleSet="RCVM88" responde nao-avaliado (isCompliant=null).

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": {
      "tokenName": "<tokenName>",
      "investorProfile": "<investorProfile>",
      "investmentAmount": "<investmentAmount>"
    },
    "name": "validate_cvm_token_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleSetNoConjunto de regras. Implementado: "RCVM88". Qualquer outro valor devolve nao-avaliado.
tokenNameYesNome ou símbolo do token
issuerCnpjNoCNPJ do emissor
investorProfileYesPerfil do investidor segundo a CVM
investmentAmountYesValor pretendido de investimento em BRL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ruleSet / description
      Previous value: -"Conjunto de regras aplicáveis (ex: \"RCVM88\", \"RCVM161\")"New value: +"Conjunto de regras. Implementado: \"RCVM88\". Qualquer outro valor devolve nao-avaliado."
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the important fallback behaviour (unimplemented rule set returns nao-avaliado with isCompliant=null) and the concrete rule content (BRL 20k annual retail cap), but says nothing about whether the call has side effects, error conditions, or what else the response contains.

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?

Two sentences, zero filler, with the implemented-scope constraint and the not-evaluated behaviour front-loaded before any detail. Nothing repeats the title or restates the schema verbatim.

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?

For a five-parameter validator with no output schema, the definition covers what an agent most needs: the single supported rule set, its numeric threshold, and the degraded-result behaviour. It could say a bit more about the response shape beyond isCompliant, but nothing essential to correct invocation 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 goes beyond it by pinning ruleSet to "RCVM88" and explaining the fallback for other values. It also implicitly gives meaning to investorProfile and investmentAmount by naming the retail annual limit, though issuerCnpj and the required-parameter interplay are left to the schema.

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?

States a specific verb (validates) and resource (a token investment operation) against a named regulator's rules (CVM), and immediately narrows scope to the one implemented rule set. An agent can tell this apart from siblings such as cvm_generate_disclosure or generate_cvm_compliance_report without opening any schema.

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?

Gives a clear operating condition: only RCVM 88 is implemented, and omitting ruleSet="RCVM88" yields a non-evaluated response. It does not explicitly route to alternatives (e.g. when to prefer a disclosure or report generation tool instead), so context is clear but exclusions are not fully spelled out.

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