Skip to main content
Glama

validate_portfolio

Read-onlyIdempotent

Validates a BVF portfolio document against the AI BVF v1.0 schema. Returns true if well-formed, or lists JSON path and rule errors for malformed portfolios.

Instructions

Check that a BVF portfolio document conforms to the AI BVF v1.0 schema before you score, store, or share it. Returns { valid: true } when well-formed, or { valid: false, errors: [...] } where each error names the failing JSON path and the rule it broke. Use this to catch malformed portfolios early; use score_initiative to evaluate a single initiative, or score_portfolio to score them all in one call. Schema: https://www.aibvf.com/protocol. Pure deterministic validation — no network, auth, or side effects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portfolioYesThe portfolio document as a JSON object following the AI BVF v1.0 schema: a top-level object with an "initiatives" array, each initiative carrying the same fields score_initiative expects (industry, revenue_eur, function, ai_tier, readiness, and a scores object). Validated structurally; values are not scored here.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
validYesTrue when the portfolio conforms to the schema.
errorsYesEmpty when valid; otherwise one entry per schema violation.
bvf_versionYesAI BVF protocol version validated against.
Behavior5/5

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

Annotations already indicate readOnlyHint, idempotentHint, and non-destructiveHint, and the description reinforces these by stating 'Pure deterministic validation — no network, auth, or side effects.' This adds explicit behavioral context beyond annotations without contradiction.

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, consisting of two sentences plus a brief list of alternatives and a link. Main purpose is front-loaded, and every sentence adds value: purpose, return format, usage guidelines, and behavioral context. No extraneous words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of an output schema (as indicated by context signals), the description explains the return format, including the error structure. The input schema is fully documented, annotations cover behavioral traits, and sibling tools are listed. The description also provides a reference to the external schema. This is a complete enough description for the tool's moderate complexity.

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?

The input schema already provides a detailed description of the 'portfolio' parameter (covering structure and required fields), achieving 100% schema description coverage. The tool description does not add additional parameter-level meaning beyond what the schema provides, so it meets the baseline expectation but does not exceed it.

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 verb 'Check' and the resource 'BVF portfolio document', and specifies conformance to a specific schema. It distinguishes itself from siblings by mentioning alternatives like 'score_initiative' and 'score_portfolio', and the context 'before you score, store, or share it' clarifies when to use.

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

Usage Guidelines5/5

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

The description explicitly states when to use ('before you score, store, or share it') and directs to alternative tools for different tasks ('use score_initiative to evaluate a single initiative, or score_portfolio to score them all'). It also notes that the tool is deterministic and has no side effects, guiding appropriate use.

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/Bahamas1717/ai-bvf'

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