Skip to main content
Glama

AgentValCon — Agent Value Gateway

Read workspace credits

credit
Read-onlyIdempotent

Read your virtual credit balance (visitor token required). Top-ups and subscriptions are being prepared; this tool only reads the current balance. Use when you need your own credit balance before a paid call. Example arguments: {"action": "balance", "visitor_token": "vt_..."} Ads: one "Advertisement" in a separate sponsored array, also in _meta["biz.agentconcierge/sponsored"], never in the text content; results unchanged.

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": {
      "action": "<action>"
    },
    "name": "credit"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction: balance to check your credits.
account_idNoYour own visitor account ID (defaults to the authenticated visitor ID)
visitor_tokenNoYour visitor token (vt_…) so I remember you. Omit on first contact.

Output Schema

NameRequiredDescriptionDefault
okNo
textYes
intentNo
statusNo
visitorNoSession transport only; never put it in answer text.
executionNo
sponsoredNoOne labelled Advertisement, apart from the results; `disclosure` says paid or house. It does not affect ranking, selection or test results.
direct_onlyNoNot run by this gateway; not a recommendation.
recommendationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / description
      Previous value: -"Structured tool result. Fields vary by operation and outcome; inspect isError and execution status before acting."New value: +"Fields vary by operation; check isError and status first."
    • changedOutput schema / properties / direct_only / description
      Previous value: -"Matches the gateway does not run (connection_available false, with connection_reason and the provider's direct_endpoint when public). Never a recommendation to call through this server."New value: +"Not run by this gateway; not a recommendation."
    • changedOutput schema / properties / sponsored / description
      Previous value: -"One item labelled Advertisement, after and apart from the results: label, advertiser, title, text, url and a `disclosure` object (paid_placement and house say whether an advertiser paid or it is an AgentValCon house advertisement). Advertising does not affect ranking, selection or test results."New value: +"One labelled Advertisement, apart from the results; `disclosure` says paid or house. It does not affect ranking, selection or test results."
    • changedOutput schema / properties / visitor / description
      Previous value: -"Session transport only. Never include identity or tokens in answer text."New value: +"Session transport only; never put it in answer text."
    • removedOutput schema / properties / visitor / properties / token / description
      Removed value: -"Opaque continuation credential; send only in the session transport."
  2. Changed2 schema fields changed
    • addedOutput schema / properties / direct_only
      Added value: +{
      +  "description": "Matches the gateway does not run (connection_available false, with connection_reason and the provider's direct_endpoint when public). Never a recommendation to call through this server.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "maxItems": 3,
      +  "type": "array"
      +}
    • addedOutput schema / properties / sponsored
      Added value: +{
      +  "description": "One item labelled Advertisement, after and apart from the results: label, advertiser, title, text, url and a `disclosure` object (paid_placement and house say whether an advertiser paid or it is an AgentValCon house advertisement). Advertising does not affect ranking, selection or test results.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "maxItems": 1,
      +  "type": "array"
      +}
  3. Changed3 schema fields changed
    • addedOutput schema / properties / visitor / additionalProperties
      Added value: +false
    • addedOutput schema / properties / visitor / description
      Added value: +"Session transport only. Never include identity or tokens in answer text."
    • addedOutput schema / properties / visitor / properties
      Added value: +{
      +  "id": {
      +    "type": "string",
      +    "x-sensitive": true
      +  },
      +  "session_status": {
      +    "type": "string"
      +  },
      +  "token": {
      +    "description": "Opaque continuation credential; send only in the session transport.",
      +    "type": "string",
      +    "x-sensitive": true
      +  }
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false), so the description's value is in adding what annotations cannot: the visitor-token prerequisite and the fact that top-ups/subscriptions are not yet available. It also discloses where advertising appears in results (a separate sponsored array and _meta key, never in text), which is genuine output behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the usage trigger are front-loaded and efficient, but the opening repeats itself ("Read your virtual credit balance... this tool only reads the current balance"), and the trailing advertising sentence is tangential and vague ("results unchanged" is unclear). It is not bloated, but not every sentence earns its place.

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?

With an output schema present, return structure need not be explained, and the description covers the token prerequisite, current functional limits, and an example call. The only remaining ambiguity is behavior when the token is absent or invalid, which the schema partially addresses.

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 itself documents action, account_id, and visitor_token. The description adds a concrete example invocation and reinforces the token requirement, but contributes nothing about account_id precedence or the enum value beyond what the schema states — baseline 3 applies.

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 gives a specific verb+resource ("Read your virtual credit balance") and narrows the scope explicitly ("this tool only reads the current balance"), which the vague tool name "credit" does not convey on its own. It does not name a sibling alternative, but the read-only balance scope is unambiguous.

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?

It states a clear trigger: "Use when you need your own credit balance before a paid call," and rules out expectation of top-up behavior by noting those are "being prepared." It stops short of naming an alternative tool or spelling out when not to call it, so it is strong context rather than a full routing rule.

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