Skip to main content
Glama

credence_scan

Scan model output for numeric literals matching unverified constraints and annotate them as stale or unverified to prevent writes with uncertain values.

Instructions

Generation-Time Constraint Scanner (CP3): scan model output for numeric literals that match registered unverified constraints.

Two annotation tiers (no confidence scores — unknown = unverified): ⚠⚠ CREDENCE[stale] — source="temporal_scan" (structurally stale values) ⚠ CREDENCE[unverified] — all other registered constraints

Scans both code blocks and prose.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession whose constraints to check against.
output_textYesRaw model output to scan.
current_turnNoTurn number for confidence decay (default 0).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description discloses key behaviors: two annotation tiers (stale/unverified), their sources, and scope (code blocks and prose). It does not mention output format, but output schema is present, so this is sufficient.

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 concise, uses bullets for tiers, and front-loads the purpose. Each sentence adds value with no redundancy.

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 tool's complexity (3 params, output schema, no annotations), the description adequately explains the scanning behavior and tiers. It could mention the output structure but the schema fills this gap. Overall complete for the context.

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 description coverage is 100%, so the baseline is 3. The description does not add additional parameter meaning beyond what the schema already provides (session_id, output_text, current_turn).

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 the tool scans model output for numeric literals matching registered constraints, with a specific verb-resource combination ('scan model output') and distinguishes it from sibling tools (e.g., verify, register).

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

Usage Guidelines3/5

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

The description implies usage for scanning output against constraints and defines two annotation tiers, but does not explicitly state when to use this tool versus alternatives (e.g., credence_verify), nor provides exclusions or prerequisites.

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/Lakshmi-Chakradhar-Vijayarao/credence-ai'

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