mcp
v2.1.1MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_projects
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Project. # Response Schema ```json { $ref: '#/$defs/project', $defs: { project: { type: 'object', description: 'A Project in the Scorecard system.', properties: { id: { type: 'string', description: 'The ID of the Project.' }, description: { type: 'string', description: 'The description of the Project.' }, name: {…
| Parameter | Type | Description |
|---|---|---|
description * | string | The description of the Project. |
name * | string | The name of the Project. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_projects
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a paginated list of all Projects. Projects are ordered by creation date, with oldest Projects first. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/project' } }, hasMore: { type: 'boolean' }, nextCursor: { type: 'string' }, total: { type: 'integer' } }, required: [ 'data', 'ha…
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor for pagination. Pass the `nextCursor` from the previous response to get the next page of results. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Maximum number of items to return (1-100). Use with `cursor` for pagination through large sets. |
create_testsets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Testset for a Project. The Testset will be created in the Project specified in the path. # Response Schema ```json { $ref: '#/$defs/testset', $defs: { testset: { type: 'object', description: 'A collection of Testcases that share the same schema.\nEach Testset defines the structure of its Testcases through a JSON schema.\nThe `fieldMapping` object maps top-level keys of the Testcase schema to their r…
| Parameter | Type | Description |
|---|---|---|
description * | string | The description of the Testset. |
fieldMapping * | object | Maps top-level keys of the Testcase schema to their roles (input/expected output). Unmapped fields are treated as metadata. |
jsonSchema * | object | The JSON schema for each Testcase in the Testset. |
name * | string | The name of the Testset. |
projectId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
update_testsets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Update a Testset. Only the fields provided in the request body will be updated. If a field is provided, the new content will replace the existing content. If a field is not provided, the existing content will remain unchanged. When updating the schema: - If field mappings are not provided and existing mappings reference fields that no longer exist, those mappings will be automatically removed - To preserve all existing mappings, en…
| Parameter | Type | Description |
|---|---|---|
testsetId * | string | |
description | string | The description of the Testset. |
fieldMapping | object | Maps top-level keys of the Testcase schema to their roles (input/expected output). Unmapped fields are treated as metadata. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
jsonSchema | object | The JSON schema for each Testcase in the Testset. |
name | string | The name of the Testset. |
list_testsets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a paginated list of Testsets belonging to a Project. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/testset' } }, hasMore: { type: 'boolean' }, nextCursor: { type: 'string' }, total: { type: 'integer' } }, required: [ 'data', 'hasMore', 'nextCursor' ], $defs: { tes…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
cursor | string | Cursor for pagination. Pass the `nextCursor` from the previous response to get the next page of results. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Maximum number of items to return (1-100). Use with `cursor` for pagination through large sets. |
delete_testsets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Delete Testset # Response Schema ```json { type: 'object', properties: { success: { type: 'boolean', description: 'Whether the deletion was successful.' } }, required: [ 'success' ] } ```
| Parameter | Type | Description |
|---|---|---|
testsetId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
get_testsets
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Get Testset # Response Schema ```json { $ref: '#/$defs/testset', $defs: { testset: { type: 'object', description: 'A collection of Testcases that share the same schema.\nEach Testset defines the structure of its Testcases through a JSON schema.\nThe `fieldMapping` object maps top-level keys of the Testcase schema to their roles (input/expected output).\nFields not mentioned in the `fieldMapping` during creation…
| Parameter | Type | Description |
|---|---|---|
testsetId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
create_testcases
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create multiple Testcases in the specified Testset. # Response Schema ```json { type: 'object', properties: { items: { type: 'array', items: { $ref: '#/$defs/testcase' } } }, required: [ 'items' ], $defs: { testcase: { type: 'object', description: 'A test case in the Scorecard system. Contains JSON data that is validated against the schema defined by its Testset.\nThe…
| Parameter | Type | Description |
|---|---|---|
items * | array | Testcases to create (max 100). |
testsetId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
update_testcases
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Replace the data of an existing Testcase while keeping its ID. # Response Schema ```json { $ref: '#/$defs/testcase', $defs: { testcase: { type: 'object', description: 'A test case in the Scorecard system. Contains JSON data that is validated against the schema defined by its Testset.\nThe `inputs` and `expected` fields are derived from the `data` field based on the Testset\'s `fieldMapping`, and include all mapp…
| Parameter | Type | Description |
|---|---|---|
jsonData * | object | The JSON data of the Testcase, which is validated against the Testset's schema. |
testcaseId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
list_testcases
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a paginated list of Testcases belonging to a Testset. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/testcase' } }, hasMore: { type: 'boolean' }, nextCursor: { type: 'string' }, total: { type: 'integer' } }, required: [ 'data', 'hasMore', 'nextCursor' ], $defs: { t…
| Parameter | Type | Description |
|---|---|---|
testsetId * | string | |
cursor | string | Cursor for pagination. Pass the `nextCursor` from the previous response to get the next page of results. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Maximum number of items to return (1-100). Use with `cursor` for pagination through large sets. |
delete_testcases
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Delete multiple Testcases by their IDs. # Response Schema ```json { type: 'object', properties: { success: { type: 'boolean', description: 'Whether the deletion was successful.' } }, required: [ 'success' ] } ```
| Parameter | Type | Description |
|---|---|---|
ids * | array | IDs of Testcases to delete. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
get_testcases
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a specific Testcase by ID. # Response Schema ```json { $ref: '#/$defs/testcase', $defs: { testcase: { type: 'object', description: 'A test case in the Scorecard system. Contains JSON data that is validated against the schema defined by its Testset.\nThe `inputs` and `expected` fields are derived from the `data` field based on the Testset\'s `fieldMapping`, and include all mapped fields, including those…
| Parameter | Type | Description |
|---|---|---|
testcaseId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
create_runs
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Run. # Response Schema ```json { $ref: '#/$defs/run', $defs: { run: { type: 'object', description: 'A Run in the Scorecard system.', properties: { id: { type: 'string', description: 'The ID of the Run.' }, metricIds: { type: 'array', description: 'The IDs of the metrics this Run is using.', items: { type: 'st…
| Parameter | Type | Description |
|---|---|---|
metricIds * | array | The IDs of the metrics this Run is using. |
projectId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
systemVersionId | string | The ID of the system version this Run is using. |
testsetId | string | The ID of the Testset this Run is testing. |
create_metrics
Create a new Metric for evaluating system outputs. The structure of a metric depends on the evalType and outputType of the metric.
update_metrics
Update an existing Metric. You must specify the evalType and outputType of the metric. The structure of a metric depends on the evalType and outputType of the metric.
create_records
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new Record in a Run. # Response Schema ```json { $ref: '#/$defs/record', $defs: { record: { type: 'object', description: 'A record of a system execution in the Scorecard system.', properties: { id: { type: 'string', description: 'The ID of the Record.' }, expected: { type: 'object', description: 'The expected outputs for the Testcase.…
| Parameter | Type | Description |
|---|---|---|
expected * | object | The expected outputs for the Testcase. |
inputs * | object | The actual inputs sent to the system, which should match the system's input schema. |
outputs * | object | The actual outputs from the system. |
runId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
testcaseId | string | The ID of the Testcase. |
upsert_scores
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create or update a Score for a given Record and MetricConfig. If a Score with the specified Record ID and MetricConfig ID already exists, it will be updated. Otherwise, a new Score will be created. The score provided should conform to the schema defined by the MetricConfig; otherwise, validation errors will be reported. # Response Schema ```json { $ref: '#/$defs/score', $defs: { score: { type: 'object', descript…
| Parameter | Type | Description |
|---|---|---|
metricConfigId * | string | |
recordId * | string | |
score * | object | The score of the Record, as arbitrary JSON. This data should ideally conform to the output schema defined by the associated MetricConfig. If it doesn't, validation errors will be captured in the `vali… |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
update_systems
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Update an existing system. Only the fields provided in the request body will be updated. If a field is provided, the new content will replace the existing content. If a field is not provided, the existing content will remain unchanged. # Response Schema ```json { $ref: '#/$defs/system', $defs: { system: { type: 'object', description: 'A System Under Test (SUT).\n\nSystems are templates - to run evaluations, pair…
| Parameter | Type | Description |
|---|---|---|
systemId * | string | |
description | string | The description of the system. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
name | string | The name of the system. Unique within the project. |
productionVersionId | string | The ID of the production version of the system. |
list_systems
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a paginated list of all systems. Systems are ordered by creation date. # Response Schema ```json { type: 'object', properties: { data: { type: 'array', items: { $ref: '#/$defs/system' } }, hasMore: { type: 'boolean' }, nextCursor: { type: 'string' }, total: { type: 'integer' } }, required: [ 'data', 'hasMore', 'nextCursor' ],…
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
cursor | string | Cursor for pagination. Pass the `nextCursor` from the previous response to get the next page of results. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
limit | integer | Maximum number of items to return (1-100). Use with `cursor` for pagination through large sets. |
delete_systems
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Delete a system definition by ID. This will not delete associated system versions. # Response Schema ```json { type: 'object', properties: { success: { type: 'boolean', description: 'Whether the deletion was successful.' } }, required: [ 'success' ] } ```
| Parameter | Type | Description |
|---|---|---|
systemId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
get_systems
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a specific system by ID. # Response Schema ```json { $ref: '#/$defs/system', $defs: { system: { type: 'object', description: 'A System Under Test (SUT).\n\nSystems are templates - to run evaluations, pair them with a SystemVersion that provides specific\nparameter values.', properties: { id: { type: 'string', description: 'The ID of the system.' }, descr…
| Parameter | Type | Description |
|---|---|---|
systemId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
upsert_systems
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new system. If one with the same name in the project exists, it updates it instead. # Response Schema ```json { $ref: '#/$defs/system', $defs: { system: { type: 'object', description: 'A System Under Test (SUT).\n\nSystems are templates - to run evaluations, pair them with a SystemVersion that provides specific\nparameter values.', properties: { id: { type: 'string', de…
| Parameter | Type | Description |
|---|---|---|
config * | object | The configuration of the system. |
projectId * | string | |
description | string | The description of the system. |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
name | string | The name of the system. Should be unique within the project. Default is "Default system" |
get_systems_versions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Retrieve a specific system version by ID. # Response Schema ```json { $ref: '#/$defs/system_version', $defs: { system_version: { type: 'object', description: 'A SystemVersion defines the specific settings for a System Under Test.\n\nSystem versions contain parameter values that determine system behavior during evaluation.\nThey are immutable snapshots - once created, they never change.\n\nWhen running evaluation…
| Parameter | Type | Description |
|---|---|---|
systemVersionId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
upsert_systems_versions
When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance. Only omit if you're sure you don't need the data. Create a new system version if it does not already exist. Does **not** set the created version to be the system's production version. If there is already a system version with the same config, its name will be updated. # Response Schema ```json { $ref: '#/$defs/system_version', $defs: { system_version: { type: 'object', description: 'A SystemVersion defines the specific settings for a System Under Test.\n\nSyst…
| Parameter | Type | Description |
|---|---|---|
config * | object | The configuration of the system version. |
systemId * | string | |
jq_filter | string | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field i… |
name | string | The name of the system version. If creating a new system version and the name isn't provided, it will be autogenerated. |